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

Call to 'python get_regvalue.py' returned exit status 1 while in binding.gyp. while trying to load binding.gyp #15

Open
Seda145 opened this issue Nov 28, 2023 · 0 comments

Comments

@Seda145
Copy link

Seda145 commented Nov 28, 2023

npm fails at installing psarcjs. Since most files are quite outdated I had to do the following to get rid of the first errors:

  1. install VS 2017 community. 2. install python 3.6. 3. install node v12. I tried various other combinations but it all ends in the following:

npm : File "get_regvalue.py", line 16
At line:1 char:1

  • npm install psarcjs
  •   + CategoryInfo          : NotSpecified: (  File "get_regvalue.py", line 16:String) [], RemoteException
      + FullyQualifiedErrorId : NativeCommandError
    
    
      print get_regvalue('SOFTWARE\\ImageMagick\\Current', 'LibPath')
    
                       ^
    
    

SyntaxError: invalid syntax

gyp: Call to 'python get_regvalue.py' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:351:16)
gyp ERR! stack at ChildProcess.emit (events.js:314:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Windows_NT 10.0.19045
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd K:\Webdevelopment\Scripting\BundleTest2\node_modules\imagemagick-native
gyp ERR! node -v v12.22.12
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=16"} (current: {"node":"12.22.12","npm":"6.14.16"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm WARN enoent ENOENT: no such file or directory, open 'K:\Webdevelopment\Scripting\BundleTest2\package.json'
npm WARN BundleTest2 No description
npm WARN BundleTest2 No repository field.
npm WARN BundleTest2 No README data
npm WARN BundleTest2 No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

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

1 participant