Javascript Lerna adding命令退出,错误为不相关的包
我正在使用lerna管理我的multirepo,其中包含相互关联的包。在安装新的操作系统之前,我没有这个问题。现在,当我尝试使用Javascript Lerna adding命令退出,错误为不相关的包,javascript,node.js,linux,npm,lerna,Javascript,Node.js,Linux,Npm,Lerna,我正在使用lerna管理我的multirepo,其中包含相互关联的包。在安装新的操作系统之前,我没有这个问题。现在,当我尝试使用lernaadd在一个包到另一个包中添加依赖项时,它会在所提到的包中产生错误,这些包与我要针对的包和依赖项都不相关 以下是我的控制台输出: [filip@filip-thinkpad platform]$ lerna add @devell-platform/webcomponents-base --scope=@devell-platform/web-manual l
lernaadd
在一个包到另一个包中添加依赖项时,它会在所提到的包中产生错误,这些包与我要针对的包和依赖项都不相关
以下是我的控制台输出:
[filip@filip-thinkpad platform]$ lerna add @devell-platform/webcomponents-base --scope=@devell-platform/web-manual
lerna notice cli v3.18.3
lerna notice filter including "@devell-platform/web-manual"
lerna info filter [ '@devell-platform/web-manual' ]
lerna info Adding @devell-platform/webcomponents-base in 1 package
lerna info Bootstrapping 26 packages
lerna info Installing external dependencies
lerna ERR! npm install exited 1 in '@devell-platform/model'
lerna ERR! npm install stderr:
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@devell-platform%2fbase-types - Not found
npm ERR! 404
npm ERR! 404 '@devell-platform/base-types@0.0.0' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/filip/.npm/_logs/2020-09-27T13_19_58_840Z-debug.log
lerna ERR! npm install exited 1 in '@devell-platform/model'
lerna WARN complete Waiting for 3 child processes to exit. CTRL-C to exit immediately.
lerna ERR! npm install exited 1 in '@devell-platform/model'
lerna ERR! npm install stderr:
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@devell-platform%2fbase-types - Not found
npm ERR! 404
npm ERR! 404 '@devell-platform/base-types@0.0.0' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/filip/.npm/_logs/2020-09-27T13_19_58_840Z-debug.log
lerna ERR! npm install exited 1 in '@devell-platform/model'
lerna WARN complete Waiting for 3 child processes to exit. CTRL-C to exit immediately.
包@devell平台/webcomponents-base
既不依赖于@devell平台/model
也不依赖于@devell平台/base-type
我尝试了各种方法,比如删除模型
包,然后删除其他包
显示为错误原因。没有包
@devell platform/webcomponents base
。如果它以前存在,则必须已删除
这与莱娜无关,只是巧合而已。使用npm install@devell platform/webcomponents base
进行普通安装也会失败