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

Specimen page error #549

Open
bmason opened this issue Jun 10, 2022 · 4 comments
Open

Specimen page error #549

bmason opened this issue Jun 10, 2022 · 4 comments
Labels
bug report A submitted bug report, not yet validated.

Comments

@bmason
Copy link

bmason commented Jun 10, 2022

I tried to install and run the specimen page

I get many errors running 'npm install'

on both Windows 11 and Debian 10

@bmason bmason added the bug report A submitted bug report, not yet validated. label Jun 10, 2022
@justin-schroeder
Copy link
Member

Going to need a little more than that. Specific errors, node versions, npm version etc.

@bmason
Copy link
Author

bmason commented Jun 10, 2022

npm 8.11.0
node v16.14.2

git clone https://github.com/wearebraid/vue-formulate.git
cd vue-formulate
npm install

npm WARN deprecated core-js@2.6.11: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm ERR! code 1
npm ERR! path C:\Projects\vue-formulate\node_modules\deasync
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node ./build.js
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@16.14.2 | win32 | x64
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Command failed: C:\Python310\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: Missing parentheses in call to 'print'. Did you mean print(...)?
npm ERR! gyp ERR! stack
npm ERR! gyp ERR! stack at ChildProcess.exithandler (node:child_process:399:12)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:526: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 Windows_NT 10.0.22000
npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Projects\vue-formulate\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd C:\Projects\vue-formulate\node_modules\deasync
npm ERR! gyp ERR! node -v v16.14.2
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok
npm ERR! Build failed

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Brian\AppData\Local\npm-cache_logs\2022-06-10T14_21_40_671Z-debug-0.log

@justin-schroeder
Copy link
Member

Hmm, looks like an error with node-gyp. https://github.com/nodejs/node-gyp which is used in node-sass. Probably something to do with python versions or what not, but maybe checkout their debugging pages.

@bmason
Copy link
Author

bmason commented Jun 10, 2022

node-sass uses node-gyp 3.8.0 which causes the errors

node-sass is deprecated

https://www.npmjs.com/package/node-sass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report A submitted bug report, not yet validated.
Projects
None yet
Development

No branches or pull requests

2 participants