PhoneGap中文网
标题: Mac电脑用Xcode开发编译报错 [打印本页]
作者: maniandafa168 时间: 2016-7-5 09:20
标题: Mac电脑用Xcode开发编译报错
zhangmingmindeMacBook-Air:MyApp zhangmingmin$ ionic build ios
/usr/local/lib/node_modules/cordova/node_modules/insight/node_modules/configstore/index.js:53
throw err;
^
Error: EACCES: permission denied, open '/Users/zhangmingmin/.config/configstore/insight-cordova.json'
You don't have access to this file.
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at Object.fs.readFileSync (fs.js:397:15)
at Object.create.all.get (/usr/local/lib/node_modules/cordova/node_modules/insight/node_modules/configstore/index.js:34:26)
at Object.Configstore (/usr/local/lib/node_modules/cordova/node_modules/insight/node_modules/configstore/index.js:27:44)
at new Insight (/usr/local/lib/node_modules/cordova/node_modules/insight/lib/index.js:38:34)
at Object.<anonymous> (/usr/local/lib/node_modules/cordova/src/telemetry.js:37:15)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
请大家帮忙看看,究竟是什么问题导致编译错误,如果直接运行Xcode不会报错,但是不显示内容,很奇怪!
作者: 497010318 时间: 2016-7-5 09:50
open '/Users/zhangmingmin/.config/configstore/insight-cordova.json' 叫你打开这个目录下的 insight-cordova.json' 这个文件 并删除 我昨天就遇到了这个问题
作者: 米兰的小铁匠 时间: 2016-7-15 17:11
权限问题 要加sudo
欢迎光临 PhoneGap中文网 (http://bbs.phonegap100.com/) |
Powered by Discuz! X3.2 |