Question

Error running `npm install`

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.

Subscribe
Share

Submit an 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