错误:ENOENT:没有此类文件或目录,请打开“ app.json”

时间:2018-12-26 09:37:54

标签: vue-native

我已按照本页https://vue-native.io/docs/installation.html

上的说明进行操作

我完全没有安装问题,但是运行此脚本后出现以下错误

vue-native init VueNativeAppTest

Error: ENOENT: no such file or directory, open 'app.json'
    at Object.openSync (fs.js:436:3)
    at Object.readFileSync (fs.js:341:35)
    at setupVueNativeApp (/usr/local/lib/node_modules/vue-native-cli/src/index.js:251:35)
    at createVueNativeProject (/usr/local/lib/node_modules/vue-native-cli/src/index.js:102:3)
    at init (/usr/local/lib/node_modules/vue-native-cli/src/index.js:76:7)
    at Command.<anonymous> (/usr/local/lib/node_modules/vue-native-cli/src/index.js:59:7)
    at Command.listener (/usr/local/lib/node_modules/vue-native-cli/node_modules/commander/index.js:315:8)
    at Command.emit (events.js:182:13)
    at Command.parseArgs (/usr/local/lib/node_modules/vue-native-cli/node_modules/commander/index.js:651:12)
    at Command.parse (/usr/local/lib/node_modules/vue-native-cli/node_modules/commander/index.js:474:21)

在MacOs High Sierra 10.13.6上运行,vue-native -v 0.03

0 个答案:

没有答案