This is my package.json
:
{ "name": "my-example-app", "version": "0.1.0", "dependencies": { "request": "*", "nano": "3.3.x", "async": "~0.2" } }
Now, when I open the cmd and run npm install
, the install hangs. What am I doing wrong?
To solve the issue, try removing the entire node_modules/ folder and the package-lock. json file. Then try running the npm install command again. That may fix the issue.
code 1 error usually occurs when you run the npm install command. This cause of this error is that one of the dependencies you define in your package. json file fails to be installed properly on your computer. This means that npm fails to install the node-sass module that's added as a dependency to the n-app project.
If you find that npm is running slow and it isn't your computer or internet, it is most likely because of a severely outdated version.
to make (something abstract) more concrete or real. "these instincts are, in humans, reified as verbal constructs" to regard or treat (an idea, concept, etc.) as if having material existence. to enable ECMAScript 2015 modules in any version of Node.js.
I had the same problem. The reason - wrong proxy was configured and because of that npm was unable to download packages.
So your best bet is to the see the output of
$ npm install --verbose
and identify the problem. If you have never configured proxy, then possible causes can be
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