0

我正在开发一个 Angular 10 应用程序。在我的身上,package.json我什么都没有@babel,但是当我碰巧npm install时,我遇到了一个错误:

npm ERR! 404 Not Found - GET http://private_repo/repository/npm-all/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.14.2.tgz

可以安装什么依赖@babel

4

1 回答 1

-1

npm install 将下载你所有的依赖和你的依赖的依赖,所以,其中之一使用@Babel。

查看依赖项并检查如何使用 this 时,您会发现错误http://private_repo/repository...

另外,如果是 Yarn,请尝试安装软件包。

于 2021-06-04T14:36:17.010 回答