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

npm install fails, login required #21

Open
LemonzDEV opened this issue Aug 20, 2021 · 0 comments
Open

npm install fails, login required #21

LemonzDEV opened this issue Aug 20, 2021 · 0 comments

Comments

@LemonzDEV
Copy link

Trying to build the template, on npm install crashes with this error:
1075 error code E401
1076 error Incorrect or missing password.
Checking the log, it comes that downloading of fontawesome requires an authentication.

Is this an error?

Here's full log:

1063 timing reifyNode:node_modules/rxjs Completed in 1952ms
1064 timing reify:rollback:createSparse Completed in 462ms
1065 timing reify:rollback:retireShallow Completed in 0ms
1066 timing command:install Completed in 3755ms
1067 verbose stack HttpErrorAuthUnknown: Unable to authenticate, need: Basic realm="https://npm.fontawesome.com/",service="npm.fontawesome.com"
1067 verbose stack at /usr/lib/node_modules/npm/node_modules/npm-registry-fetch/check-response.js:84:17
1067 verbose stack at processTicksAndRejections (node:internal/process/task_queues:96:5)
1068 verbose statusCode 401
1069 verbose pkgid @fortawesome/fontawesome-free@https://npm.fontawesome.com/@fortawesome/fontawesome-free/-/5.11.2/fontawesome-free-5.11.2.tgz
1070 verbose cwd /home/lemonz/Desktop/impact-design-system
1071 verbose Linux 5.4.0-81-generic
1072 verbose argv "/usr/bin/node" "/usr/bin/npm" "install"
1073 verbose node v16.7.0
1074 verbose npm v7.20.3
1075 error code E401
1076 error Incorrect or missing password.
1077 error If you were trying to login, change your password, create an
1077 error authentication token or enable two-factor authentication then
1077 error that means you likely typed your password in incorrectly.
1077 error Please try again, or recover your password at:
1077 error https://www.npmjs.com/forgot
1077 error
1077 error If you were doing some other operation then your saved credentials are
1077 error probably out of date. To correct this please try logging in again with:
1077 error npm login
1078 verbose exit 1

4yx added a commit to 4yx/impact-design-system that referenced this issue Sep 23, 2022
The following changes have been made:
* Replace FontAwesome's URL from its private NPM registry to the public NPM registry so that login is no longer required (creativetimofficial#21)
* Update node-gyp and its requirements to the latest version (9.1.0) so that no error is presented (creativetimofficial#24)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant