When running yarn install --production it does not install the required dependencies of forever. This seem to be related to havingnodemon in devDependencies.
Error response:
> forever app.js
module.js:457
throw err;
^
Error: Cannot find module 'minimatch'
I've created a test application here:
https://github.com/donovan-graham/yarn-example-app
# Steps to reproduce error
git clone https://github.com/donovan-graham/yarn-example-app.git
cd yarn-example-app
yarn install --production
npm start
# temporary step to bypass error
rm -rf node_modules
yarn remove nodemon
yarn install --production
npm start
When running
yarn install --productionit does not install the required dependencies offorever. This seem to be related to havingnodemonindevDependencies.Error response:
I've created a test application here:
https://github.com/donovan-graham/yarn-example-app