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

Invalid npm token #3833

Closed
5 tasks done
Randgalt opened this issue Nov 28, 2023 · 3 comments
Closed
5 tasks done

Invalid npm token #3833

Randgalt opened this issue Nov 28, 2023 · 3 comments
Labels
archived This issue has been locked. pending-triage

Comments

@Randgalt
Copy link

Before opening, please confirm:

  • I have checked to see if my question is addressed in the FAQ.
  • I have searched for duplicate or closed issues.
  • I have read the guide for submitting bug reports.
  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
  • I have removed any sensitive information from my code snippets and submission.

App Id

d2733jdcx4wny6

AWS Region

us-west-2

Amplify Hosting feature

Backend builds, Frontend builds

Frontend framework

Angular

Next.js version

13.4.19

Next.js router

App Router

Describe the bug

                             # Starting phase: preBuild
                             # Executing command: npm ci

2023-11-28T16:11:39.304Z [WARNING]: npm ERR! code E401
2023-11-28T16:11:39.307Z [WARNING]: npm ERR! Unable to authenticate, your authentication token seems to be invalid.
npm ERR! To correct this please trying logging in again with:
npm ERR! npm login
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-11-28T16_11_18_458Z-debug-0.log
2023-11-28T16:11:39.328Z [ERROR]: !!! Build failed
2023-11-28T16:11:39.328Z [INFO]: Please read more about Amplify Hosting's support for SSR frameworks to find if your build failure is related to an unsupported feature: https://docs.aws.amazon.com/amplify/latest/userguide/amplify-ssr-framework-support.html. You may also find this troubleshooting guide useful: https://docs.aws.amazon.com/amplify/latest/userguide/troubleshooting-ssr-deployment.html
2023-11-28T16:11:39.329Z [ERROR]: !!! Non-Zero Exit Code detected
2023-11-28T16:11:39.329Z [INFO]: # Starting environment caching...
2023-11-28T16:11:39.329Z [INFO]: # Environment caching completed
Terminating logging...

Expected behavior

It should build

Reproduction steps

Try to build

Build Settings

No response

Log output

# Put your logs below this line


Additional information

No response

@Randgalt
Copy link
Author

I cleaned out everything I could think of and reinstalled from npm and now it works. ¯_(ツ)_/¯

Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Copy link

This issue has been automatically locked.

@github-actions github-actions bot added the archived This issue has been locked. label Nov 29, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Nov 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived This issue has been locked. pending-triage
Projects
None yet
Development

No branches or pull requests

1 participant