我在Windows 10系统上安装angular-cli时遇到了问题。错误与Python依赖项和node-gyp有关。错误信息如下:
>execSync@1.0.2 install C:\Users\UserName\AppData\Roaming\npm\node_modules\angular-cli\node_modules\execSync
node install.js
[execsync v1.0.2] Attempting to compile native extensions.
{ Error: spawn node-gyp ENOENT
at exports._errnoException (util.js:1007:11)