Error running `npm install`

July 21, 2017 101 views
Applications Ubuntu 16.04

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.

1 Answer

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:

Have another answer? Share your knowledge.