error 401 when installing eslint

(Carlos Araya) #1

'm trying to install eslint with the following command: npm i -D eslint but I’m getting the following error:

npm i -D eslint
npm ERR! code E401
npm ERR! 401 Unauthorized: @babel/code-frame@^7.0.0

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/carlos/.npm/_logs/2018-11-28T17_08_44_460Z-debug.log

node: v10.13.0
npm: 6.4.1

I have also tried using node 8 and 11 with NPM 6.4.1 and it gives me the same error.

error 401when installing packages
(Kuba Siemiątkowski) #2

I’m getting the same with all namespaced libraries. And everyone at my company experiences the same issue.

npm ERR! code E401
npm ERR! 404 401 Unauthorized: @zxing/library@^0.8.3

and same with yarn

$ yarn install                                                                                                                                                                                yarn install v1.3.2
[1/4] 🔍  Resolving packages...
error Couldn't find package "@zxing/library" on the "npm" registry.
info Visit for documentation about this command.

(Lars Willighagen) #3

Previous post regarding this:

(system) #4

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.