Tutorials: https://developers.sap.com/tutorials/hana-cloud-create-db-project.html
--------------------------
Hi,I'm using a trial account, I have a problem that when I'm creating a new project from template it generate the next error:


{"message":"@sap/hdb-project:app generator failed - env.on(error) Command failed: npm install\nnpm 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/\nnpm 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/\nnpm notice \nnpm notice New minor version of npm available! 8.11.0 -> 8.19.2\nnpm notice Changelog: https://github.com/npm/cli/releases/tag/v8.19.2\nnpm notice Run npm install -g [email protected] to update!\nnpm notice \nnpm ERR! code E404\nnpm ERR! 404 Not Found - GET http://nginx-redirector.repo-cache.svc.cluster.local/wordwrap/-/wordwrap-1.0.0.tgz\nnpm ERR! 404 \nnpm ERR! 404 'https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz' is not in this registry.\nnpm ERR! 404 This package name is not valid, because \nnpm ERR! 404 1. name can only contain URL-friendly characters\nnpm ERR! 404 \nnpm ERR! 404 Note that you can also install from a\nnpm ERR! 404 tarball, folder, http url, or git url.\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR! /home/user/.npm/_logs/2022-09-28T15_33_01_609Z-debug-0.log\n","stack":"Error: env.on(error) Command failed: npm install\nnpm 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/\nnpm 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/\nnpm notice \nnpm notice New minor version of npm available! 8.11.0 -> 8.19.2\nnpm notice Changelog: https://github.com/npm/cli/releases/tag/v8.19.2\nnpm notice Run npm install -g [email protected] to update!\nnpm notice \nnpm ERR! code E404\nnpm ERR! 404 Not Found - GET http://nginx-redirector.repo-cache.svc.cluster.local/wordwrap/-/wordwrap-1.0.0.tgz\nnpm ERR! 404 \nnpm ERR! 404 'https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz' is not in this registry.\nnpm ERR! 404 This package name is not valid, because \nnpm ERR! 404 1. name can only contain URL-friendly characters\nnpm ERR! 404 \nnpm ERR! 404 Note that you can also install from a\nnpm ERR! 404 tarball, folder, http url, or git url.\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR! /home/user/.npm/_logs/2022-09-28T15_33_01_609Z-debug-0.log\n\n at checkExecSyncError (child_process.js:790:11)\n at Object.execSync (child_process.js:863:15)\n at customInstallTask (/extbin/npm/globals/lib/node_modules/@sap/generator-add-hdb-module/generators/generator-hdb-module/index.js:43:23)\n at B.packageManagerInstallTask (/tmp/vscode-unpacked/yeoman-ui-1.7.11.vsix/extension/dist/extension.js:2:1809682)"}
I runned this command npm install -g https://tls-test.npmjs.com/tls-test-1.0.0.tgz, but It generate me this error.
Request clarification before answering.
Hello Javier! I had an issue similar to yours, try to run this command:
npm config set registry https://registry.npmjs.org/
I hope it helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Javier,
Thanks @Danielle for sharing hint.
I am able to solve build failed issue by running
npm config set registry https://registry.npmjs.org/
For deployment issue i ran below command.
npm i passport
Hopefully it solves.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.