Error: npm ERR! write after end

后端 未结 10 1825
悲&欢浪女
悲&欢浪女 2021-01-31 13:54

I am having issues installing Cordova and Ionic. At first I couldn\'t because of what seems to be a corrupted installation, that led me to uni

相关标签:
10条回答
  • 2021-01-31 14:32

    Just run npm cache verify

    This will clean it all.

    0 讨论(0)
  • 2021-01-31 14:35

    Update July 28, 2018

    This problem is related to npm version 5.7.1

    Upgrading to node version 8.11.3 with npm version 5.8.0 solve the problem

    0 讨论(0)
  • 2021-01-31 14:36

    i faced the same issue. For my case, i update npm to latest 6.1.0 by running "npm install -g npm@latest". Then run "npm cache verify

    0 讨论(0)
  • 2021-01-31 14:36

    None of the previous answers could help me.

    Fortunately, after a lot of 'try and error', I found the following simple solution:

    • delete (or move) the file 'package-lock.json' and npm install works flawlessly.


    Tip: if you have your project in a git repository:

    • add the file 'package-lock.json' in '.gitignore'
    0 讨论(0)
提交回复
热议问题