npm install报错



  • E:\code\NavTest>react-native run-android
    Command run-android unrecognized. Make sure that you have run npm install and that you are inside a react-native project.

    E:\code\NavTest>npm install
    npm ERR! Unexpected end of input at 1:13770
    npm ERR! ,"dependencies":{"core-js":"^1.0.0","promise":"^7.0.3","ua-parser-js"
    npm ERR! ^

    npm ERR! A complete log of this run can be found in:
    npm ERR! C:\Users\孔蒙\AppData\Roaming\npm-cache_logs\2017-08-14T01_44_12_632Z-debug.log

    运行时报错,然后执行npm install ,这个错误什么意思啊,搜了半天没有解决方案,有没有大神指点一下迷津



  • 是不是dependencies里有标点符号之类的错误


登录后回复