I wonder why my node_modules folder is greyed out in my VS Code editor after I run the command npm install
.
Here the picture of my folder:
the grey out file means the file is excluded from the build. That means the file is excluded from the build.
The “global node_modules” directory is a special directory where all modules installed with npm install -g are stored. You can find the path to your global node_modules directory by running npm root -g .
This error happens when there are missing packages in your node_modules/ folder that prevents the development server from running. To solve this error, you need to make sure that you have the node_modules/ folder generated by the npm install command.
Files/folders that are included in .gitignore
are greyed out. Normally node_modules
folder is included within .gitignore
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With