草庐IT

miniprogram_npm

全部标签

node.js - 如何将私有(private)项目发布到 Sinopia(私有(private)注册表的 npm adduser 失败)

好的,我终于设法使用Sinopia获得了一个私有(private)的npm注册表。但我无法向其发布任何内容。TL;DR:Sinopiadoesnotsupportnpmadduser,buthasitsownusermanagement.Alsonpmneedsavalidusercreatedbeforenpmpublishthroughnpmadduser,whichfailsbecausetheinternalSinopiaserverthrowsanerrorattheunsupportedcommand....如何将Sinopia用作具有正确用户和密码的私有(private)

node.js - 如何将私有(private)项目发布到 Sinopia(私有(private)注册表的 npm adduser 失败)

好的,我终于设法使用Sinopia获得了一个私有(private)的npm注册表。但我无法向其发布任何内容。TL;DR:Sinopiadoesnotsupportnpmadduser,buthasitsownusermanagement.Alsonpmneedsavalidusercreatedbeforenpmpublishthroughnpmadduser,whichfailsbecausetheinternalSinopiaserverthrowsanerrorattheunsupportedcommand....如何将Sinopia用作具有正确用户和密码的私有(private)

javascript - esprima-6 npm 模块发生了什么?

我的npm项目将esprima-sixnpm模块作为传递依赖项。最近,它变得无法下载,如npminstall的以下输出所示:npmERR!404NotFoundnpmERR!404npmERR!404'esprima-six'isnotinthenpmregistry.npmERR!404YoushouldbugtheauthortopublishitnpmERR!404Itwasspecifiedasadependencyof'syntax-error'npmERR!404npmERR!404NotethatyoucanalsoinstallfromanpmERR!404tarbal

javascript - esprima-6 npm 模块发生了什么?

我的npm项目将esprima-sixnpm模块作为传递依赖项。最近,它变得无法下载,如npminstall的以下输出所示:npmERR!404NotFoundnpmERR!404npmERR!404'esprima-six'isnotinthenpmregistry.npmERR!404YoushouldbugtheauthortopublishitnpmERR!404Itwasspecifiedasadependencyof'syntax-error'npmERR!404npmERR!404NotethatyoucanalsoinstallfromanpmERR!404tarbal

javascript - npm WARN 已弃用 npmconf@2.1.2 : this package has been reintegrated into npm and is now out of date with respect to npm

我在CentOS7服务器上安装node.js,当我尝试安装yeoman时收到以下错误:npmWARNdeprecatednpmconf@2.1.2:thispackagehasbeenreintegratedintonpmandisnowoutofdatewithrespecttonpmyeoman的安装似乎可以正常工作。我可以做些什么来避免这个警告吗?不处理有什么影响?这里是来自yeoman安装的终端输出的第一部分的其余部分:[root@localhost~]#npminstall-gyonpmWARNdeprecatednpmconf@2.1.2:thispackagehasbee

javascript - npm WARN 已弃用 npmconf@2.1.2 : this package has been reintegrated into npm and is now out of date with respect to npm

我在CentOS7服务器上安装node.js,当我尝试安装yeoman时收到以下错误:npmWARNdeprecatednpmconf@2.1.2:thispackagehasbeenreintegratedintonpmandisnowoutofdatewithrespecttonpmyeoman的安装似乎可以正常工作。我可以做些什么来避免这个警告吗?不处理有什么影响?这里是来自yeoman安装的终端输出的第一部分的其余部分:[root@localhost~]#npminstall-gyonpmWARNdeprecatednpmconf@2.1.2:thispackagehasbee

node.js - 由于 require-from-string 导致使用 npm 安装 Angular 时出错

由于我无法安装Angular,如何解决此错误。请参阅以下异常:C:\Users\absin\node>npminstall-g@angular/clinpmERR!codeETARGETnpmERR!notargetNomatchingversionfoundforrequire-from-string@^1.1.0npmERR!notargetInmostcasesyouoroneofyourdependenciesarerequestingnpmERR!notargetapackageversionthatdoesn'texist.npmERR!notargetnpmERR!not

node.js - 由于 require-from-string 导致使用 npm 安装 Angular 时出错

由于我无法安装Angular,如何解决此错误。请参阅以下异常:C:\Users\absin\node>npminstall-g@angular/clinpmERR!codeETARGETnpmERR!notargetNomatchingversionfoundforrequire-from-string@^1.1.0npmERR!notargetInmostcasesyouoroneofyourdependenciesarerequestingnpmERR!notargetapackageversionthatdoesn'texist.npmERR!notargetnpmERR!not

node.js - `yo angular` 给出错误 : npm ERR! 代码 ENOENT npm ERR! errno 34(是的,我已经清理了缓存并设置了 .npmignore)

我试图在一个新的项目目录中运行yoangular,但它在途中的某个地方给了我ENOENT错误。是的,我看过thissimilarquestion,但它的解决方案对我不起作用。在运行yoangular之前,我在空的新项目目录上运行了这些东西:touch.npmignorenpmcacheclearnpmcacheclean但我仍然得到:npmERR!Error:ENOENT,lstat'/home/ubuntu/app_c/node_modules/grunt/internal-tasks/bump.js'npmERR!Ifyouneedhelp,youmayreportthis*ent

node.js - `yo angular` 给出错误 : npm ERR! 代码 ENOENT npm ERR! errno 34(是的,我已经清理了缓存并设置了 .npmignore)

我试图在一个新的项目目录中运行yoangular,但它在途中的某个地方给了我ENOENT错误。是的,我看过thissimilarquestion,但它的解决方案对我不起作用。在运行yoangular之前,我在空的新项目目录上运行了这些东西:touch.npmignorenpmcacheclearnpmcacheclean但我仍然得到:npmERR!Error:ENOENT,lstat'/home/ubuntu/app_c/node_modules/grunt/internal-tasks/bump.js'npmERR!Ifyouneedhelp,youmayreportthis*ent