rm rf The system cannot find the path specified.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.9k
- Forks
- 51
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 1
Description
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/typeorm@0.0.24 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the package.json clean script, shx rm -rf node_modules, on Windows 10 and inspect the invocation shown in the report. Confirm the cause of the “path specified” error and establish the expected clean-command behavior; the issue names no test or target file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, shell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100