gpt4 book ai didi

Npm 错误 - 找不到匹配的版本

转载 作者:行者123 更新时间:2023-12-01 20:20:02 24 4
gpt4 key购买 nike

我使用 git 克隆了一个项目,该项目是使用 ionic 2 创建的,但是当我执行重新创建 node_modules 文件夹的命令时,出现此错误。

npm install
npm WARN deprecated object-keys@0.2.0: Please update to the latest object-keys
npm ERR! code ETARGET
npm ERR! notarget No matching version found for ionic-native@^3.5.0
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'ionic-hello-world'
npm ERR! notarget

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/wihermes/.npm/_logs/2017-06-02T13_58_47_295Z-debug.log

注意:我已经更新了 npm。

有谁知道怎么解决吗?

最佳答案

我遇到了可用软件包的问题。强制清理缓存有帮助。

npm cache clean --force

关于Npm 错误 - 找不到匹配的版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44331005/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com