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
When I running npm install the build fails at npm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: Command failed: C:...\Programs\Python\Python38-32\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3]; npm ERR! gyp ERR! stack File "", 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 at ChildProcess.exithandler (node:child_process:333:12) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:376:20) npm ERR! gyp ERR! stack at maybeClose (node:internal/child_process:1063:16) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:295:5) npm ERR! gyp ERR! System Windows_NT 10.0.19042 npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\ADT\ADT_explorer\client\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" npm ERR! gyp ERR! cwd C:\ADT\ADT_explorer\client\node_modules\node-sass npm ERR! gyp ERR! node -v v15.5.0 npm ERR! gyp ERR! node-gyp -v v3.8.0 npm ERR! gyp ERR! not ok npm ERR! Build failed with error code: 1
Seems related to node-gyp v3.8.0 dependency of node-sass (<5) what supports only python2 (EOL) sass/node-sass#3013 sass/node-sass#2877 Also interesting Libsaas and Node-Saas are deprecated. Not better to switch to sass as recommended?
The text was updated successfully, but these errors were encountered:
managed to run it with dart-saas https://github.com/sass/dart-sass/releases/tag/1.32.4
Sorry, something went wrong.
Thanks for the pull request @ChristianBeier. I was stumbling across the same problem.
In the package.json change this: "node-sass": "^4.14.1", --> "sass": "^1.32.4",
"node-sass": "^4.14.1",
"sass": "^1.32.4",
This fix is now in the development branch. Once we've finished our test pass, it'll be merged into master. Thanks!
development
master
Closing as the fix is now in the new default main branch here: https://github.com/Azure-Samples/digital-twins-explorer
Thanks again for reporting!
jamescarpinter
jamiewilbraham
No branches or pull requests
When I running npm install the build fails at
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Command failed: C:...\Programs\Python\Python38-32\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack File "", 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 at ChildProcess.exithandler (node:child_process:333:12)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:376:20)
npm ERR! gyp ERR! stack at maybeClose (node:internal/child_process:1063:16)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:295:5)
npm ERR! gyp ERR! System Windows_NT 10.0.19042
npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\ADT\ADT_explorer\client\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm ERR! gyp ERR! cwd C:\ADT\ADT_explorer\client\node_modules\node-sass
npm ERR! gyp ERR! node -v v15.5.0 npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok
npm ERR! Build failed with error code: 1
Seems related to node-gyp v3.8.0 dependency of node-sass (<5) what supports only python2 (EOL)
sass/node-sass#3013
sass/node-sass#2877
Also interesting Libsaas and Node-Saas are deprecated. Not better to switch to sass as recommended?
The text was updated successfully, but these errors were encountered: