无法使用"npm install"安装软件包



我是React原生javascript的新手。我正在尝试使用npm install安装软件包。但是我不能安装任何东西。所有的时间我得到相同的错误:

npm install @tensorflow/tfjs
npm ERR! 404 Object Not Found - GET https://skimdb.npmjs.com/registry/form-data/-/form-data- 
3.0.1.tgz - not_found
npm ERR! 404
npm ERR! 404  'form-data@https://skimdb.npmjs.com/registry/form-data/-/form-data-3.0.1.tgz' is 
not in this 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 config set registry http://registry.npmjs.org

是的,所以根据您的相关信息,您的节点通常可能有问题

你可以尝试使用

纱线

yarn add @tensorflow/tfjs

最新更新