DemoSun 发表于 2017-3-12 14:53:16

有大神帮忙我看下 ionic 打包出现这个错误如何解决啊


D:\app>npm build android
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "build" "android"
npm ERR! node v6.10.0
npm ERR! npmv3.10.10
npm ERR! path D:\app\android\package.json
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open

npm ERR! enoent ENOENT: no such file or directory, open 'D:\app\android\package.
json'
npm ERR! enoent ENOENT: no such file or directory, open 'D:\app\android\package.
json'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR!   D:\app\npm-debug.log

米兰的小铁匠 发表于 2017-3-14 16:50:32

ionic build android 你命令用错了
页: [1]
查看完整版本: 有大神帮忙我看下 ionic 打包出现这个错误如何解决啊