周末后返回我们的项目后,我的团队遇到了错误“错误无法在“npm”注册表上找到“gl-plot3d@^2.4.2”所需的包“3d-view@^2.0.0” . ” 在安装阶段在我们的 CI 管道上。此外,在尝试使用纱线添加包时会发生此错误,从而终止进程。
这个错误发生在我们项目的前端,在通过 yarn start 正常启动时不会出现。在周末前的最后一次推送中,一切正常,没有任何错误。
从安装命令开始的 CI 作业日志:
$ yarn install
yarn install v1.17.3
info No lockfile found.
[1/4] Resolving packages...
warning @material-ui/core > popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
warning moments > myconf > babel > babel-core > minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
warning moments > myconf > babel > babel-core > …Run Code Online (Sandbox Code Playgroud)