npm ERR! asyncWrite is not a function

前端 未结 16 2030
既然无缘
既然无缘 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 21:57

    This is due to company network security policy

    Work Around

    1. Go to https://codeload.github.com/jashkenas/underscore/zip/master and download the zip file
    2. Create underscore folder on C:\Users{YourUsername}\AppData\Roaming\npm\node_modules\underscore if you want your packge to be global
    3. Extract to folder
    4. Add "dependencies": { "underscore": "^{downloadedVersionNumber}" on you package.json file
    5. create a node_module>underscore and copy the Extract to folder

提交回复
热议问题