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

Cannot npm install on Mac - gl fails #286

Open
MileanCo opened this issue Aug 15, 2024 · 4 comments
Open

Cannot npm install on Mac - gl fails #286

MileanCo opened this issue Aug 15, 2024 · 4 comments

Comments

@MileanCo
Copy link

MileanCo commented Aug 15, 2024

  • [ x] I have tried with the newest version of editly: npm i -g editly or npm i editly@latest
  • [x ] I have tried ffmpeg newest stable version
  • [ x] I have searched for existing issues

it seems I cannot install the gl dependency. Its trying to build special C++ targets. I have a similar failure to here
#249

I'm running mac OS intel, node v20, node-gyp -v 9.4.1, etc.

npm install editly
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: This package is no longer supported. Please use @npmcli/package-json instead.
npm warn deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm warn deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-unicode-property-regex instead.
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Use your platform's native atob() and btoa() methods instead
npm warn deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead.
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Use your platform's native DOMException instead
npm warn deprecated [email protected]: Use your platform's native performance.now() and performance.timeOrigin.
npm warn deprecated [email protected]: Use your platform's native DOMException instead
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated @wessberg/[email protected]: this package has been renamed to ts-evaluator. Please install ts-evaluator instead
npm error code 1
npm error path node_modules/editly/node_modules/gl
npm error command failed
npm error command sh -c prebuild-install || node-gyp rebuild
npm error prebuild-install warn install No prebuilt binaries found (target=20.16.0 runtime=node arch=x64 libc= platform=darwin)
npm error gyp info it worked if it ends with ok
npm error gyp info using [email protected]
npm error gyp info using [email protected] | darwin | x64
npm error gyp info find Python using Python version 3.12.5 found at "/usr/local/opt/[email protected]/bin/python3.12"
npm error gyp info spawn /usr/local/opt/[email protected]/bin/python3.12
npm error gyp info spawn args [
npm error gyp info spawn args 'node_modules/editly/node_modules/node-gyp/gyp/gyp_main.py',
npm error gyp info spawn args 'binding.gyp',
npm error gyp info spawn args '-f',
npm error gyp info spawn args 'make',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'node_modules/editly/node_modules/gl/build/config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'node_modules/editly/node_modules/node-gyp/addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/Users/jstenkvi/Library/Caches/node-gyp/20.16.0/include/node/common.gypi',
npm error gyp info spawn args '-Dlibrary=shared_library',
npm error gyp info spawn args '-Dvisibility=default',
npm error gyp info spawn args '-Dnode_root_dir=/Users/jstenkvi/Library/Caches/node-gyp/20.16.0',
npm error gyp info spawn args '-Dnode_gyp_dir=node_modules/editly/node_modules/node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=/Users/jstenkvi/Library/Caches/node-gyp/20.16.0/<(target_arch)/node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=node_modules/editly/node_modules/gl',
npm error gyp info spawn args '-Dnode_engine=v8',
npm error gyp info spawn args '--depth=.',
npm error gyp info spawn args '--no-parallel',
npm error gyp info spawn args '--generator-output',
npm error gyp info spawn args 'build',
npm error gyp info spawn args '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error /bin/sh: python: command not found
npm error gyp: Call to 'python commit_id.py check ..' returned exit status 127 while in angle/src/angle.gyp. while loading dependencies of binding.gyp while trying to load binding.gyp
npm error gyp ERR! configure error
npm error gyp ERR! stack Error: gyp failed with exit code: 1
npm error gyp ERR! stack at ChildProcess.onCpExit (node_modules/editly/node_modules/node-gyp/lib/configure.js:325:16)
npm error gyp ERR! stack at ChildProcess.emit (node:events:519:28)
npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
npm error gyp ERR! System Darwin 23.6.0
npm error gyp ERR! command "/usr/local/Cellar/node@20/20.16.0/bin/node" "node_modules/editly/node_modules/.bin/node-gyp" "rebuild"
npm error gyp ERR! cwd node_modules/editly/node_modules/gl
npm error gyp ERR! node -v v20.16.0
npm error gyp ERR! node-gyp -v v9.4.1
npm error gyp ERR! not ok

@MileanCo MileanCo changed the title Cannot npm install on Mac - headless-gl compile fails Cannot npm install on Mac - gl compile fails Aug 15, 2024
@MileanCo MileanCo changed the title Cannot npm install on Mac - gl compile fails Cannot npm install on Mac - gl fails Aug 15, 2024
@MileanCo
Copy link
Author

Is this bc I dont have python2 installed? I have python3 installed. Python2 is end of life so im not bothering installing that.

@C00reNUT
Copy link

C00reNUT commented Sep 3, 2024

same here

@sherlockwxl
Copy link

same error here, any help?

@benjamingorman
Copy link

same here

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

4 participants