Report this

What is the reason for this report?

Error running `npm install`

Posted on July 21, 2017

Hello, I am trying to install Pantry-for-Good. When I run npm install in the Pantry-for-Good directory, I get this error (error.txt). @0x0936 told me to update npm, which I did, and then I received this error (error2.txt). Any help would be appreciated.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @technotrumpet

It says that two of the dependencies are outdated, so try installing the version it’s requesting:

npm update minimatch@3.0.2
npm update graceful-fs@4.0.0

Or run the ls command to list which dependencies are using outdated versions:

npm ls minimatch
npm ls graceful-fs

EDIT: There’s a very long thread about this and with many slightly different ways of making it work depending on your setup: https://github.com/npm/npm/issues/13323

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.