We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 version : v16.15.0 git clone 项目, 执行npm install,报如下错误:
npm ERR! gyp verb `which` succeeded /usr/bin/python3 /usr/bin/python3 npm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: Command failed: /usr/bin/python3 -c import sys; print "%s.%s.%s" % sys.version_info[:3]; npm ERR! gyp ERR! stack File "<string>", line 1 npm ERR! gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3]; npm ERR! gyp ERR! stack ^ npm ERR! gyp ERR! stack SyntaxError: invalid syntax npm ERR! gyp ERR! stack npm ERR! gyp ERR! stack at ChildProcess.exithandler (node:child_process:398:12) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:527:28) npm ERR! gyp ERR! stack at maybeClose (node:internal/child_process:1092:16) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) npm ERR! gyp ERR! System Linux 3.10.0-1160.el7.x86_64
升级node-sass 到6.0 版本后,成功构建 "node-sass": "^6.0",
The text was updated successfully, but these errors were encountered:
请问下你的Node版本是多少啊?“sass-loader”的版本不需要改动吗?
Sorry, something went wrong.
误导人了,报错提示是python3解释不了python2的代码。
前端部署的说明:https://www.macrozheng.com/mall/deploy/mall_deploy_web.html
No branches or pull requests
node version : v16.15.0
git clone 项目, 执行npm install,报如下错误:
升级node-sass 到6.0 版本后,成功构建
"node-sass": "^6.0",
The text was updated successfully, but these errors were encountered: