error: This is probably not a problem with npm. There is likely additional logging output above

后端 未结 14 2242
温柔的废话
温柔的废话 2020-12-13 20:34

In my project, I\'m using Angular6 for the frontend. Now what I\'m trying to do is deploy my project which is in remote server into the actual server. I\'m using npm r

14条回答
  •  感情败类
    2020-12-13 21:09

    Novice mistake. Make sure your package.json file is coded correctly. I had:

    "start": "index node.js"
    instead of:
    "start": "node index.js"
    

    17

    Delete your package-lock.json file and node_modules folder. Then do npm cache clean

    npm cache clean --force do npm install

提交回复
热议问题