IT虾米网

javascript之Cordova平台ios错误

dyllove98 2024年10月17日 程序员 52 0

运行时:

fab$ cordova platform add ios 

我收到此错误:

Error during untar for

/Users/fab/.cordova/lib/npm_cache/cordova-ios/4.3.1/package.tgz:

Error: EACCES: permission denied, open '/Users/fab/.cordova/lib/npm_cache/cordova-ios/4.3.1/package/CordovaLib/.npmignore' Error: Failed to fetch platform ios Probably this is either a connection problem, or platform spec is incorrect. Check your connection and platform name/version/URL. Error: EACCES: permission denied, open '/Users/fab/.cordova/lib/npm_cache/cordova-ios/4.3.1/package/CordovaLib/.npmignore'

请您参考如下方法:

尝试此修复

 rm -rf ~/.cordova 


评论关闭
IT虾米网

微信公众号号:IT虾米 (左侧二维码扫一扫)欢迎添加!