shx
shx copied to clipboard
rm rf The system cannot find the path specified.
Hello!
Im trying to run the following script in my packacge.json:
"clean": "shx rm -rf node_modules",
yet when i run it i run into the following error:
shx rm -rf ./node_modules
The system cannot find the path specified.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @fuse/[email protected] clean: shx rm -rf ./node_modules
npm ERR! Exit status
The operating system is windows 10. What might be the issue?
Thanks in advance, Gabi.
Where does the ./ come from? Your package.json doesn't show a ./ before the path. Was that a typo or is that being added at runtime (perhaps by npm)?