Starting phase: preBuild
Executing command: npm ci
2023-08-06T02:49:41.941Z [WARNING]: npm ERR! code E401
2023-08-06T02:49:41.943Z [WARNING]: npm ERR! Incorrect or missing password.
npm ERR! If you were trying to login, change your password, create an
npm ERR! authentication token or enable two-factor authentication then
npm ERR! that means you likely typed your password in incorrectly.
npm ERR! Please try again, or recover your password at:
npm ERR! https://www.npmjs.com/forgot
npm ERR!
npm ERR! If you were doing some other operation then your saved credentials are
npm ERR! probably out of date. To correct this please try logging in again with:
npm ERR! npm login
2023-08-06T02:49:41.944Z [WARNING]:
2023-08-06T02:49:41.944Z [WARNING]: npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-08-06T02_49_25_851Z-debug-0.log
2023-08-06T02:49:41.962Z [ERROR]: !!! Build failed
2023-08-06T02:49:41.963Z [ERROR]: !!! Non-Zero Exit Code detected
2023-08-06T02:49:41.963Z [INFO]: # Starting environment caching...
2023-08-06T02:49:41.963Z [INFO]: # Environment caching completed
Terminating logging...
#aws next js hosting
3 messages · Page 1 of 1 (latest)
🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord
🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize
✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)
This SO issue looks similar as urs. saying deleting package-lock.json fixed.
https://stackoverflow.com/questions/67114659/npm-err-code-e401-npm-err-incorrect-or-missing-password