npm i @capacitor/核心后'@capacitor/core@*'不在此注册表中。错误


npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@capacitor/android/@capacitor%2fcore
npm ERR! 404 
npm ERR! 404  '@capacitor/core@*' 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 ERR! A complete log of this run can be found in:
npm ERR!     /Users/erensengun/.npm/_logs/2022-03-12T09_04_56_624Z-debug-0.log
erensengun@ERENs-MacBook-Pro ~ % ionic -v
6.18.1
erensengun@ERENs-MacBook-Pro ~ % npm init @capacitor/app
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@capacitor/android/@capacitor%2fcreate-app
npm ERR! 404 
npm ERR! 404  '@capacitor/create-app@latest' 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 ERR! A complete log of this run can be found in:

已解决:当您面临npm错误时,请遵循此检查表!404,但无法修复:安装最新的npm版本登录(如果您正在下载私人软件包(尝试安装程序包尝试从主目录中删除.npmrc文件重新尝试安装包

最新更新