0

私の新しいM1 Macbook Airでこれを試す前に、古いMacBookで試してみましたが、古いマシンでも魅力のようにシームレスに動作します

パッケージ.json

{
  "name": "root",
  "private": true,
  "devDependencies": {
    "lerna": "^3.20.2"
  }
}

私が従った手順

1.

npm config set レジストリ "https://npm.pkg.github.com/ABC"

npm login --scope=@ABC --registry=https://npm.pkg.github.com

ユーザー名: git ユーザー名

パスワード: PersonalAccessToken

電子メール: MyEmail@Organization.com

https://npm.pkg.github.com/で gitusername としてログインします。

3.

npm install -g lerna typescript npm-check-updates

この問題に直面している

npm ERR! code E401 
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
npm ERR! A complete log of this run can be found in: 
npm ERR! /Users/gajanan/.npm/_logs/2021-04-02T05_22_22_130Z-debug.log

PS : すべてのコマンドは私の古い MACBOOK AIR で動作します

私はこの問題に長い間苦労しており、関連するすべての回答を読んでいますが、明確ではありません。

4

0 に答える 0