Closed ibc closed 5 years ago
Interesting:
email-templates
dependencies:"dependencies": {
"juice": "^5.0.0",
"juice-resources-promise": "^0.0.2",
}
juice-resources-promise
devDependencies:"devDependencies": {
"juice": "^4.1.1"
}
It seems to me that this is making NPM crazy (just wondering).
Confirmed that MY_APP/node_modules/juice
does NOT exist.
In fact, the "Cannot find module ‘juice’" does not happen if I install my app dependencies with npm install
, but it DOES happen if I do npm install --production
.
Hwoever, it does not happen with yarn install --production
.
$ node -v
v8.11.3
$ npm -v
6.4.1
$ yarn -v
1.7.0
Confirmed that this is a fuxxxxxing bug in NPM, and just happens if npm i --production
is called and the main add does have juice 4.xx' within its
devDependencies`. A complete no-sense.
fix will be published in new version shortly, thanks
email-templates@5.0.2
has been released to npm
My app dependencies: