Closed adammathieson closed 2 years ago
I have the same problem. 🤦🏾♂️
I have the same problem.
I could be missing something, but I can't find any reference to "@sls-next/-component@3.7.0"
Is the dependency supposed to be "@sls-next/serverless-component@3.7.0"?
In my case, the error is solved, but I don't do anything
Is anyone still experiencing this issue?
Hi @chrisbonifacio! I'm doing some tests, but it seems to have been resolved.
Hi @chrisbonifacio Just completed a successful build on a test branch. Rebuilding the original branch now, but it appears to be working.
This was an issue with Amplify Hosting and due to the npm outage today where certain package versions were not published, breaking a lot CI/CD tools. It is resolved now.
this issue happen again, anyone can help fix this issue..?
Hi @Brew-Brew - can you please open a new Github issue so that we can investigate this further?
I just got this today. Was this ever solved?
got this today suddenly
Today, a problem similar to the one here occurred.
Is this also an issue with Amplify Hosting? Please confirm, and thank you in advance.
error
2023-09-14T09:28:07.321Z [INFO]: Starting SSR Build...
2023-09-14T09:29:20.594Z [ERROR]: Error: Command failed: npm install @sls-next/-component@3.7.0 --prefix /root/./
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated node-pre-gyp@0.13.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! network Socket timeout
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-09-14T09_29_18_977Z-debug.log
at ChildProcess.exithandler (node:child_process:397:12)
at ChildProcess.emit (node:events:390:28)
at maybeClose (node:internal/child_process:1064:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) {
killed: false,
code: 1,
signal: null,
cmd: 'npm install @sls-next/-component@3.7.0 --prefix /root/./',
stdout: '',
stderr: 'npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated\n' +
'npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated\n' +
'npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.\n' +
'npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.\n' +
'npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.\n' +
'npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.\n' +
'npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.\n' +
'npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.\n' +
'npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.\n' +
'npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.\n' +
'npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.\n' +
'npm WARN deprecated node-pre-gyp@0.13.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future\n' +
'npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated\n' +
'npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated\n' +
'npm ERR! code ERR_SOCKET_TIMEOUT\n' +
'npm ERR! network Socket timeout\n' +
'npm ERR! network This is a problem related to network connectivity.\n' +
'npm ERR! network In most cases you are behind a proxy or have bad network settings.\n' +
'npm ERR! network \n' +
'npm ERR! network If you are behind a proxy, please make sure that the\n' +
"npm ERR! network 'proxy' config is set properly. See: 'npm help config'\n" +
'\n' +
'npm ERR! A complete log of this run can be found in:\n' +
'npm ERR! /root/.npm/_logs/2023-09-14T09_29_18_977Z-debug.log\n'
}
2023-09-14T09:29:20.594Z [HELP]: Outputting the npm debug log
[object Promise]
Outputting the npm debug log
[object Promise]
**Next.js version** : 11
**Node.js version**: 16.13.0
Before opening, please confirm:
Region
us-west-2
JavaScript Framework
Next.js
Amplify APIs
Not applicable
Amplify Categories
Not applicable
Environment information
Describe the bug
During build: amplify fails build do to "Error: Command failed: npm install @sls-next/-component@3.7.0 --prefix /root/./
Expected behavior
The build should have been completed without error
Reproduction steps
Additional information and screenshots
The problem first occurred on June 30, 2022, while making minor changes to a development branch of a different project, which triggered an automatic rebuild. I tried creating a feature branch off of the last successfully built branch version, but that failed as well. And then received the same error after starting a new create next.js project and deploying it as a separate app in Amplify.