NPM install fails with node-gyp

前端 未结 9 538
闹比i
闹比i 2021-01-31 04:09

We are having problems running \"npm install\" on our project. A certain file cannot be found :

fatal error C1083: Cannot open include file: \'w         


        
9条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-31 04:43

    Based on the node-gyp README, update npm npm i npm -g, and will bring in a newer version of node-gyp.

    Hint: if you are on windows perform npm install --global --production windows-build-tools from an elevated PowerShell or CMD.exe (run as Administrator).

提交回复
热议问题