janusweb
janusweb copied to clipboard
npm install --only=prod ERR! what's problem?Thanks
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
npm config set registry https://registry.npmjs.org
try installing using wsl, seems related to this issue: https://github.com/jbaicoianu/janusweb/issues/234
im getting same error on wsl now too lol
npm ERR! command failed npm ERR! command sh -c ./utils/init.sh