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

后端 未结 14 2239
温柔的废话
温柔的废话 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:19

    Please delete package-lock.json and clear npm cache with npm cache clear --force and delete whole node_modules directory

    Finally install or update packages again with npm install / npm update You can also add any new packages with npm install <package-name>

    This fixed for me.

    Thanks and happy coding.

    0 讨论(0)
  • 2020-12-13 21:19
    1. first delete the file (project).
    2. then rm -rf \Users\Indrajith.E\AppData\Roaming\npm-cache_logs\2019-08-22T08_41_00_271Z-debug.log (this is the file(log) which is showing error).
    3. recreate your project for example :- npx create-react-app hello_world
    4. then cd hello_world.
    5. then npm start.

    I was also having this same error but hopefully after spending 1 day on this error i have got this solution and it got started perfectly and i also hope this works for you guys also...

    0 讨论(0)
提交回复
热议问题