gpt4 book ai didi

node.js - 安装 PhoneGap 时遇到问题 - 未找到兼容版本 : JSONStream @'>=1.0.3 < 2.0.0'

转载 作者:太空宇宙 更新时间:2023-11-03 22:46:50 25 4
gpt4 key购买 nike

当我尝试使用 npm install -gphonegapnpm install -gfphonegap 安装 PhoneGap 时,收到以下错误消息:

npm ERR! Darwin 14.1.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "phonegap"
npm ERR! node v0.12.0
npm ERR! npm v2.9.0
npm ERR! code ETARGET

npm ERR! notarget No compatible version found: JSONStream@'>=1.0.3 <2.0.0'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["0.0.0","0.1.0","0.1.1","0.1.2","0.1.3","0.2.0","0.2.1","0.2.2","0.2.3","0.3.0","0.3.1","0.3.2","0.3.3","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.5.0","0.6.0","0.6.1","0.6.2","0.6.3","0.6.4","0.7.0","0.7.1","0.8.0","0.7.2","0.7.3","0.7.4","0.8.1","0.8.2","0.8.3","0.8.4","0.9.0","0.10.0"]
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
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 'deps-sort'
npm ERR! notarget

如果有帮助,我们将不胜感激。谢谢!!

最佳答案

这是由于配置错误而导致的临时问题,我相信很快就会得到修复。

与此同时,您可以通过 sudo npm install -gphonegap@4.0.0-0.22.7 使用版本 4,并在今天晚些时候修复该问题后进行更新。

关于node.js - 安装 PhoneGap 时遇到问题 - 未找到兼容版本 : JSONStream @'>=1.0.3 < 2.0.0' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30107556/

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