我正在通过工作。
正在运行
npm install @da/daml-ledger
导致以下错误消息
npm ERR! code E401
npm ERR! 401 Unauthorized: @da/daml-ledger@latest
npm ERR! A complete log of this run can be found in:
npm ERR! /...../.npm/_logs/2019-02-22T17_48_44_560Z-debug.log
以下是该日志文件的内容:
0 info it worked if it ends with ok
1 verbose c
我按照文档安装了angualar
当我在一个空目录$ npm install -g @angular/cli中运行该命令时,我得到了以下错误:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for semver@^7.3.5.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm
我使用一个NodeJS实例在Beanstalk上托管了一个EC2后端。它过去和现在都可以很好地处理旧代码,但现在如果我想通过部署新代码来更新应用程序,它会给我错误,如下所示:
> phantomjs-prebuilt@2.1.16 install /tmp/deployment/application/node_modules/phantomjs-prebuilt
> node install.js
Considering PhantomJS found at /usr/local/bin/phantomjs
Found PhantomJS at /usr/loc
我在Linux Mint18.0中安装了几个版本的node.js。我使用nvm来管理它们。由于依赖于项目,我需要将版本0.10作为默认版本(nvm use 0.10)。因此,每次启动终端时,我都会得到以下输出:
npm WARN deprecated This version of npm lacks support for important features,
npm WARN deprecated such as scoped packages, offered by the primary npm
npm WARN deprecated registry. Consider upgra
我是angular的新手,我正在尝试安装angular 2所需的npm。
npm ERR! 404 'types' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.
npm ERR! System Linux 3.16.0-30-
当我尝试使用以下命令安装tap时
npm install tap
我得到以下错误:
npm ERR! Error: unauthorized Name or password is incorrect.: tap
下面是完整的响应:
npm http GET https://registry.npmjs.org/tap
npm http 401 https://registry.npmjs.org/tap
npm ERR! Error: unauthorized Name or password is incorrect.: tap
npm ERR! at RegClient.<
我跑
npx google-artifactregistry-auth --verbose
我似乎正确地登录了..。
检索应用程序默认凭据.成功!
所以现在我试着部署.
npm ERR! code ENEEDAUTH
npm ERR! need auth This command requires you to be logged in to https://us-central1-npm.pkg.dev/my-proj/npm-public/
npm ERR! need auth You need to authorize this machine using `npm adduser`
当我试图从一个npm操作安装我的GitHub模块时,我会得到以下错误:
npm ERR! 401 Unauthorized - GET https://npm.pkg.github.com/@xxxx%2fxxxx-analytics - Your request could not be authenticated by the GitHub Packages service. Please ensure your access token is valid and has the appropriate scopes configured.
在您发表评论之前,我已经使用范围和访问令牌正确地