-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
npm install return 1 after postinstall core-js #673
Comments
I have no ideas. |
I run into the same problem here 🤔 Will investigate a little more... Edit: It's in a |
The script runs fine if I just run |
how did you run that command... did you run that insider the container or when the image is build or ...Since I do |
I didn't run the command at build time, but in the started container. But even in the started container if I run After a little bit of playing around I restructured my codebase to not use core-js, but then the problem occurred with a different package. So I went to search for another solution. What fixed this behavior for me was setting Before running Note: If you're not running this in a container, but on your own system, make sure you understand what the config does, since it contains the word See for reference: https://stackoverflow.com/a/52196681/5418064 |
Could you check it with the current version? |
Closed due to lack of response. Most likely, the current approach should not cause this issue. |
Thanks for addressing it in a release! Same problem persist with the latest version, but it's still possible to overcome this, by using |
Problem still exists if a project with core-js is deployed on an AWS Elastic Beanstalk environment |
Works for me .. that means unsafe perm was false |
Failed to build Docker image AWS elastic beanstalk environment |
@avtaniket I have eventually fixed the issue on AWS by adding |
what exactly purpose of this variable, How does it fix this issue? |
Comes from the opencollective package, seemingly used on core-js to display the donation messages on the postinstall script. |
when my file path is too long, this error occur. My OS is win10. |
`
npm install return 1 after postinstall core-js, in docker on Linux(cloud VM).
Even if I do
npm i -loglevel verbose
,> node scripts/postinstall || echo "ignore"
is the last thing I see from console.I assume I should see some messages after that?
And this issue could cause docker image build to fail..
Does anyone run into this?
Thanks in advance!
EDIT: I also tried to upgrade core-js to the lastest version and it is still contantly happening...
The text was updated successfully, but these errors were encountered: