如题,详细报错如下:
gyp ERR! configure error
gyp ERR! stack Error: Can’t find Python executable “python”, you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (D:\vue-style-codebase-prerender\node_mo
gyp ERR! stack at PythonFinder. (D:\vue-style-codebase-prerender\node_mod
gyp ERR! stack at callback (D:\vue-style-codebase-prerender\node_modules\graceful-fs
gyp ERR! stack at FSReqCallback.oncomplete (fs.js:183:21)
gyp ERR! System Windows_NT 10.0.19042
gyp ERR! command “D:\Program Files\nodejs\node.exe” “D:\vue-style-codebase-prerendeags=” “–libsass_ldflags=” “–libsass_library=”
gyp ERR! cwd D:\vue-style-codebase-prerender\node_modules\node-sass
gyp ERR! node -v v14.16.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules\chokidar\node_modules
npm
npm install报错, node-sass
最新推荐文章于 2024-05-28 17:29:59 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)