Closed paireks closed 4 months ago
Change in package.json
From:
webpack --mode=production --node-env=production --progress; rollup --config rollup.config.dist.js; rollup --config rollup.config.convert2xkt.js; rm -Rf ./docs/*; ./node_modules/.bin/esdoc
To:
webpack --mode=production --node-env=production --progress && rollup --config rollup.config.dist.js && rollup --config rollup.config.convert2xkt.js && rm -Rf ./docs/* && ./node_modules/.bin/esdoc
Problem is with ;
and &&
on windows semicolon don't work as commands separator.
And also you have to change rm
command to for e.g. rimraf
because in Windows there is different command for removing dirs.
https://www.npmjs.com/package/rimraf Works both in Linux and Windows.
I cannot build a project on Windows 10 (WebStorm IDE), after:
npm update
and laternpm run build
the error is:When I remove some semicolons I recieve: