-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.13.5 fails to install in a node.js docker container #2967
Comments
same issue here:
|
Same here on node v12.22.7 |
Same issue on node v11.14.0 Could this be fixed? |
solve for now with:
in the package.json. |
@jgonggrijp a hand over here, please? It seems to be related to 08cb140 |
The issue is in the post install script in package.json Line 95 in 68e5eb6
|
Same Issue |
I added this in my package.json, also the but I still getting the issue underscore@1.13.5 postinstall: Update: # npm WARN lifecycle c4g-api@0.0.1~preinstall: cannot run in wd c4g-api@0.0.1 npx force-resolutions (wd=/app) |
Modified to include : In package.json: "scripts": { which let me run the "resolutions" but in the end I still have underscore@1.13.5 postinstall /app/node_modules/underscore update: added "underscore": "1.13.4" to my "dependencies" as well, now it works. |
Another workaround is |
Workaround:
Before doing anything that requires underscore as a dependency. |
This save my build! Thanks a lot! |
I just released 1.13.6, hopefully that fixes it. Please close if that is the case. |
thanks @jgonggrijp it's working now. |
maybe need to pass modules last
update the template as well
This reverts commit 9946346.
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! underscore@1.13.5 postinstall:
patch-package
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the underscore@1.13.5 postinstall script.
Please revert the failed release or release a bugfix.
The text was updated successfully, but these errors were encountered: