Skip to content
Discussion options

You must be logged in to vote

That sounds scary, but usually this happens because npm installs a lot of dependency files.

When you run npm install, npm creates a node_modules folder and downloads many packages that the project depends on. Sometimes this can be hundreds or even thousands of files, so it can look like something strange happened to your PC.

Those files normally stay inside your project folder and can’t control your computer.

A couple things you can check:

Look for a node_modules folder in the project directory
*If things seem broken, you can delete that folder and run npm install again
If you used npm install -g, the package was installed globally

If you can share the command you ran and the package name…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@extrolit
Comment options

Answer selected by extrolit
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ahan-io
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
other General topics and discussions that don't fit into other categories, but are related to GitHub Question Ask and answer questions about GitHub features and usage Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community!
6 participants