Skip to content
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

Error: node -e "try{require('./postinstall')}catch(e){}" #729

Closed
dantn93 opened this issue Dec 16, 2019 · 8 comments
Closed

Error: node -e "try{require('./postinstall')}catch(e){}" #729

dantn93 opened this issue Dec 16, 2019 · 8 comments

Comments

@dantn93
Copy link

dantn93 commented Dec 16, 2019

Please fix this error. Three days ago, my project does not have any error. But now, it has some bug, the Popover in react-boostrap does not show where I want.
When I install packages, the terminal show:

Screen Shot 2019-12-16 at 16 56 53

@zloirock
Copy link
Owner

I don't see any errors. What do you mean?

@dantn93
Copy link
Author

dantn93 commented Dec 16, 2019

I don't know why it is. But I thinks it makes my source code be incorrect. If this is not the reason, I will close this issue. Thanks for your support.

@zloirock
Copy link
Owner

Seems it's not the reason.

@thisiskylierose
Copy link

thisiskylierose commented Jan 7, 2020

@dantn93 I have the same issue on Windows 7. The issue seems to be with core-js postinstall script.

At the moment, it is not possible to install react-scripts package. Or any package that relies on core-js postinstall script.

retronav added a commit to retronav/core-js that referenced this issue Apr 12, 2020
When installing multiple packages that depend on core-js, the postinstall message will pop up mutiple times which will add unnecessary verbosity to the terminal log. I know zloirock#767, zloirock#548, zloirock#797, zloirock#757, zloirock#781 ,zloirock#729, zloirock#708, refer to this problem and since @zloirock refuses to remove this, lets limit it to one time so that verbosity gets truncated to the least.
@jerome-fl
Copy link

If it can be of any help, after a few hours of research, I solved this error by just cancelling Node debugger which I activated in NODE_OPTIONS env var, set with --inspect.
After an export NODE_OPTIONS="", I didn't have this issue anymore.

@gauthamshettykaup
Copy link

gauthamshettykaup commented Jun 27, 2020

Even I'm getting above message/warning:

[email protected] postinstall E:\Hitachi_Vantara\Code\Front_End\Eris\node_modules\babel-runtime\node_modules\core-js
node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

[email protected] postinstall E:\Hitachi_Vantara\Code\Front_End\Eris\node_modules\core-js
node -e "try{require('./postinstall')}catch(e){}"

[email protected] postinstall E:\Hitachi_Vantara\Code\Front_End\Eris\node_modules\core-js-pure
node -e "try{require('./postinstall')}catch(e){}"

@kanchanpriya17
Copy link

same error with my code i don't understand how to resolve this create-react-app doen't work because of this

image

@BastinJoemics
Copy link

same error with my code i don't understand how to resolve this create-react-app doen't work because of this

image

same error found any fix!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants