npm ERR! asyncWrite is not a function

前端 未结 16 1856
既然无缘
既然无缘 2021-02-06 21:44

npm install -g firebase-tools npm ERR! asyncWrite is not a function npm ERR! pna.nextTick is not a function

npm ERR! A complete log of this run can be found in: npm ERR!

16条回答
  •  囚心锁ツ
    2021-02-06 22:04

    Solution for windows platform

    1. Uninstall Node
    2. Delete folder from programfiles if exist (C:\Program Files\nodejs)
    3. Delete npm's data folder: C:\Users{Your uername}\AppData\Roaming\npm

    Install node Again(use different installation folder like "C:\Program Files\nodejs-2")

    Root cause is node and nvm installed in same installation folder.

提交回复
热议问题