You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I tried to run npm run dev-server I get this error:
D:\Desktop\1loc>npm run dev-server
> 1loc@ dev-server D:\Desktop\1loc
> npm run copy && npm run data && webpack-dev-server
> 1loc@ copy D:\Desktop\1loc
> rm -rf dist && mkdir dist && cp -rf public/* dist
'rm' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! 1loc@ copy: `rm -rf dist && mkdir dist && cp -rf public/* dist`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the 1loc@ copy script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! \2020-07-28T14_20_19_677Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! 1loc@ dev-server: `npm run copy && npm run data && webpack-dev-server`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the 1loc@ dev-server script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! -debug.log
is it the rm -rf command is not for window?
The text was updated successfully, but these errors were encountered:
When I tried to run
npm run dev-server
I get this error:is it the
rm -rf
command is not for window?The text was updated successfully, but these errors were encountered: