feathers-starter-react-redux-login-roles: npm run build broken on Windows
With the latest node (7), npm, and fsrrlr just downloaded today, npm run build gives:
...
> rm -rf ./public/dist
'rm' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "run" "build"
npm ERR! node v7.3.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! feathers-starter-react-redux-login-roles@0.2.4 prebuild: `rm -rf ./publ
ic/dist`
npm ERR! Exit status 1
...
(but the dev env launches fine BTW, awesome work 😃 )
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 17 (6 by maintainers)
Thanks for catching this.
Scheduling a fix. You can change the command to rimraf and add rimraf to package.json.
Per https://github.com/eddyystop/feathers-starter-react-redux-login-roles/issues/11#issuecomment-269870594 ,
npm run win:build:devserveralso works. Everything working in dev mode!But,
npm run win:start:devdoes work now. So doesnpm run win:start:devserver. In fact, only the latter will serve pages correctly (the former renders blank.)