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

npm install error #256

Open
wlw330296385 opened this issue Apr 15, 2022 · 1 comment
Open

npm install error #256

wlw330296385 opened this issue Apr 15, 2022 · 1 comment

Comments

@wlw330296385
Copy link

node -- version
12.17.0

npm install
0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli 'C:\\Program Files\\nodejs\\node.exe', 1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', 1 verbose cli 'install' 1 verbose cli ] 2 info using [email protected] 3 info using [email protected] 4 verbose npm-session 95217f34a54cb0db 5 silly install runPreinstallTopLevelLifecycles 6 silly preinstall [email protected] 7 info lifecycle [email protected]~preinstall: [email protected] 8 silly install loadCurrentTree ....... 2729 error code ELIFECYCLE 2730 error errno 1 2731 error [email protected] postinstall: node scripts/build.js2731 error Exit status 1 2732 error Failed at the [email protected] postinstall script. 2732 error This is probably not a problem with npm. There is likely additional logging output above. 2733 verbose exit [ 1, true ]

@zhaoyingzi
Copy link

node -- version 12.17.0

npm install 0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli 'C:\\Program Files\\nodejs\\node.exe', 1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', 1 verbose cli 'install' 1 verbose cli ] 2 info using [email protected] 3 info using [email protected] 4 verbose npm-session 95217f34a54cb0db 5 silly install runPreinstallTopLevelLifecycles 6 silly preinstall [email protected] 7 info lifecycle [email protected]~preinstall: [email protected] 8 silly install loadCurrentTree ....... 2729 error code ELIFECYCLE 2730 error errno 1 2731 error [email protected] postinstall: node scripts/build.js2731 error Exit status 1 2732 error Failed at the [email protected] postinstall script. 2732 error This is probably not a problem with npm. There is likely additional logging output above. 2733 verbose exit [ 1, true ]

把node版本降低到10.0.0试一下

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

2 participants