Vue项目 npm i 报错npm ERR! code 1
记录一下 npm i 的时候报错,报错信息如下
npm ERR! code 1
npm ERR! path D:workspaceexchangeexchange-webexchange-web-ui
ode_modules
ode-sass
npm ERR! command failed
npm ERR! command C:Windowssystem32cmd.exe /d /s /c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@3.8.0
npm ERR! gyp info using node@13.6.0 | win32 | x64
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
npm ERR! gyp ERR! stack at PythonFinder.failNoPython (D:workspaceexchangeexchange-webexchange-web-ui
ode_modules
ode-gyplibconfigure.js:484:19)
npm ERR! gyp ERR! stack at PythonFinder.<anonymous> (D:workspaceexchangeexchange-webexcha