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 --only=prod ERR! what's problem?Thanks #236

Open
HuangBingGui opened this issue Jul 29, 2022 · 3 comments
Open

npm install --only=prod ERR! what's problem?Thanks #236

HuangBingGui opened this issue Jul 29, 2022 · 3 comments

Comments

@HuangBingGui
Copy link

install --only=prod

what's problem?Thanks

ERR! code ELIFECYCLE
ERR! errno 1
ERR! [email protected] postinstall: ./utils/init.sh
ERR! Exit status 1
ERR!
ERR! Failed at the [email protected] postinstall script.


[email protected] postinstall D:\jj\janusweb
./utils/init.sh

'.' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: ./utils/init.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2022-07-29T09_55_25_614Z-debug.log


@HuangBingGui HuangBingGui changed the title install --only=prod ERR! what's problem?Thanks npm install --only=prod ERR! what's problem?Thanks Jul 29, 2022
@HuangBingGui
Copy link
Author

npm config set registry https://registry.npmjs.org

@madjin
Copy link
Contributor

madjin commented Sep 17, 2022

try installing using wsl, seems related to this issue: #234

@madjin
Copy link
Contributor

madjin commented Jan 12, 2023

im getting same error on wsl now too lol

npm ERR! command failed
npm ERR! command sh -c ./utils/init.sh

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