Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node-sass和sass-loader版本不对 导致npm install 报错 #133

Open
zhangsiqiang001 opened this issue Feb 3, 2022 · 3 comments
Open

Comments

@zhangsiqiang001
Copy link

修改:

@zhangsiqiang001
Copy link
Author

"node-sass": "^7.0.1",
"sass-loader": "^7.0.0"

@zhangsiqiang001
Copy link
Author

报错详情:
npm ERR! gyp verb which failed Error: not found: python2
npm ERR! gyp verb which failed at getNotFoundError (D:\code\zmcode\study-vue\mall-admin-web\node_modules\which\which.js:13:12)
npm ERR! gyp verb which failed at F (D:\code\zmcode\study-vue\mall-admin-web\node_modules\which\which.js:68:19)
npm ERR! gyp verb which failed at E (D:\code\zmcode\study-vue\mall-admin-web\node_modules\which\which.js:80:29)
npm ERR! gyp verb which failed at D:\code\zmcode\study-vue\mall-admin-web\node_modules\which\which.js:89:16
npm ERR! gyp verb which failed at D:\code\zmcode\study-vue\mall-admin-web\node_modules\isexe\index.js:42:5
npm ERR! gyp verb which failed at D:\code\zmcode\study-vue\mall-admin-web\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb which failed at FSReqCallback.oncomplete (node:fs:198:21)
npm ERR! gyp verb which failed python2 Error: not found: python2
npm ERR! gyp verb which failed at getNotFoundError (D:\code\zmcode\study-vue\mall-admin-web\node_modules\which\which.js:13:12)
npm ERR! gyp verb which failed at F (D:\code\zmcode\study-vue\mall-admin-web\node_modules\which\which.js:68:19)
npm ERR! gyp verb which failed at E (D:\code\zmcode\study-vue\mall-admin-web\node_modules\which\which.js:80:29)
npm ERR! gyp verb which failed at D:\code\zmcode\study-vue\mall-admin-web\node_modules\which\which.js:89:16
npm ERR! gyp verb which failed at D:\code\zmcode\study-vue\mall-admin-web\node_modules\isexe\index.js:42:5
npm ERR! gyp verb which failed at D:\code\zmcode\study-vue\mall-admin-web\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb which failed at FSReqCallback.oncomplete (node:fs:198:21) {
npm ERR! gyp verb which failed code: 'ENOENT'
npm ERR! gyp verb which failed }
npm ERR! gyp verb check python checking for Python executable "python" in the PATH
npm ERR! gyp verb which succeeded python C:\Users\Administrator\AppData\Local\Programs\Python\Python38\python.EXE
npm ERR! gyp ERR! configure error

@lincome
Copy link

lincome commented Nov 19, 2022

感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants