New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'rimraf' is not recognized as an internal or external command #1997
Comments
rimraf is the UNIX command rm -rf for node. |
you just need to read the instructions in readme:
|
That's actually something that we might want to consider updating to be referenced from the local install. Since rimraf, webpack and webpack-dev-server are already listed as dependencies for angular-starter, their binaries (well, cmd's actually) are located under the ./node_modules/bin folder. So if we modify "clean:dist": "rimraf dist", to "clean:dist": "./node_modules/bin/rimraf dist", It should work. I'm personally not a big fan of global dependencies... |
Well, |
@almothafar Maybe, but in that case we should remove rimraf from dependencies, as there is really no point to have it installed both globally and locally, right? |
@lanovoy I think local one does not hurt, also, it can be helpful for running local version for deleting some folders like dist, but without global one deleting |
I have the same problem |
Delete the node modules folder and do npm install. That should work. |
@VladimirRadeski suggestion
solved it for me. |
failed for me too. Deleted node_modules folder, get error: self signed certificate in certificate chain |
I run "npm start" and comandline throw error "'rimraf' is not recognized as an internal or external command" how can i fix?
The text was updated successfully, but these errors were encountered: