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

issue installing on mac: npm version 16.13.2 #225

Open
NateANeurogazer opened this issue Jan 27, 2022 · 0 comments
Open

issue installing on mac: npm version 16.13.2 #225

NateANeurogazer opened this issue Jan 27, 2022 · 0 comments

Comments

@NateANeurogazer
Copy link

I am unable to install on my machine.
npm 16.13.2
node 8.1.2

sorry if this issue mirrors something else fixed recently, i have been unable to fix it using any of the posted suggestions. please tell me i'm being dumb and that I just need to use my nvm to backdate or something

(base) DESKTOP-7G9R6JF:pdf hummus tests natea$ npm install hummus-recipe
npm WARN deprecated xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0
npm ERR! code 1
npm ERR! path /Users/natea/Documents/nate test/pdf hummus tests/node_modules/muhammara
npm ERR! command failed
npm ERR! command sh -c node-pre-gyp install --fallback-to-build ${EXTRA_NODE_PRE_GYP_FLAGS:-""}
npm ERR! CXX(target) Release/obj.target/pdfwriter/src/deps/PDFWriter/AbstractContentContext.o
npm ERR! Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/natea/Documents/nate test/pdf hummus tests/node_modules/muhammara/binding/muhammara.node --module_name=muhammara --module_path=/Users/natea/Documents/nate test/pdf hummus tests/node_modules/muhammara/binding --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1)
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using node-pre-gyp@0.17.0
npm ERR! node-pre-gyp info using node@16.13.2 | darwin | arm64
npm ERR! node-pre-gyp WARN Using needle for node-pre-gyp https download
npm ERR! node-pre-gyp info check checked for "/Users/natea/Documents/nate test/pdf hummus tests/node_modules/muhammara/binding/muhammara.node" (not found)
npm ERR! node-pre-gyp http GET https://github.com/julianhille/MuhammaraJS/releases/download/1.10.0/node-v93-darwin-arm64-unknown.tar.gz
npm ERR! node-pre-gyp http 404 https://github.com/julianhille/MuhammaraJS/releases/download/1.10.0/node-v93-darwin-arm64-unknown.tar.gz
npm ERR! node-pre-gyp WARN Tried to download(404): https://github.com/julianhille/MuhammaraJS/releases/download/1.10.0/node-v93-darwin-arm64-unknown.tar.gz
npm ERR! node-pre-gyp WARN Pre-built binaries not found for muhammara@1.10.0 and node@16.13.2 (node-v93 ABI, unknown) (falling back to source compile with node-gyp)
npm ERR! node-pre-gyp http 404 status code downloading tarball https://github.com/julianhille/MuhammaraJS/releases/download/1.10.0/node-v93-darwin-arm64-unknown.tar.gz
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.3.0
npm ERR! gyp info using node@16.13.2 | darwin | arm64
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.3.0
npm ERR! gyp info using node@16.13.2 | darwin | arm64
npm ERR! gyp info find Python using Python version 3.8.9 found at "/Library/Developer/CommandLineTools/usr/bin/python3"
npm ERR! gyp info spawn /Library/Developer/CommandLineTools/usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/natea/Documents/nate test/pdf hummus tests/node_modules/muhammara/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/natea/Library/Caches/node-gyp/16.13.2/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/Users/natea/Library/Caches/node-gyp/16.13.2',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/Users/natea/Library/Caches/node-gyp/16.13.2/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/Users/natea/Documents/nate test/pdf hummus tests/node_modules/muhammara',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.3.0
npm ERR! gyp info using node@16.13.2 | darwin | arm64
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! clang: error: no such file or directory: 'test/pdf'
npm ERR! clang: error: no such file or directory: 'hummus'
npm ERR! clang: error: no such file or directory: 'tests/node_modules/muhammara/src/deps/LibAesgm'
npm ERR! clang: error: no such file or directory: 'test/pdf'
npm ERR! clang: error: no such file or directory: 'hummus'
npm ERR! clang: error: no such file or directory: 'tests/node_modules/muhammara/src/deps/FreeType/include'
npm ERR! clang: error: no such file or directory: 'test/pdf'
npm ERR! clang: error: no such file or directory: 'hummus'
npm ERR! clang: error: no such file or directory: 'tests/node_modules/muhammara/src/deps/LibTiff'
npm ERR! clang: error: no such file or directory: 'test/pdf'
npm ERR! clang: error: no such file or directory: 'hummus'
npm ERR! clang: error: no such file or directory: 'tests/node_modules/muhammara/src/deps/ZLib'
npm ERR! clang: error: no such file or directory: 'test/pdf'
npm ERR! clang: error: no such file or directory: 'hummus'
npm ERR! clang: error: no such file or directory: 'tests/node_modules/muhammara/src/deps/LibJpeg'
npm ERR! clang: error: no such file or directory: 'test/pdf'
npm ERR! clang: error: no such file or directory: 'hummus'
npm ERR! clang: error: no such file or directory: 'tests/node_modules/muhammara/src/deps/LibPng'
npm ERR! make: *** [Release/obj.target/pdfwriter/src/deps/PDFWriter/AbstractContentContext.o] Error 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: make failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:390:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System Darwin 21.2.0
npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/natea/Documents/nate test/pdf hummus tests/node_modules/muhammara/binding/muhammara.node" "--module_name=muhammara" "--module_path=/Users/natea/Documents/nate test/pdf hummus tests/node_modules/muhammara/binding" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v93"
npm ERR! gyp ERR! cwd /Users/natea/Documents/nate test/pdf hummus tests/node_modules/muhammara
npm ERR! gyp ERR! node -v v16.13.2
npm ERR! gyp ERR! node-gyp -v v8.3.0
npm ERR! gyp ERR! not ok
npm ERR! node-pre-gyp ERR! build error
npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/natea/Documents/nate test/pdf hummus tests/node_modules/muhammara/binding/muhammara.node --module_name=muhammara --module_path=/Users/natea/Documents/nate test/pdf hummus tests/node_modules/muhammara/binding --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1)
npm ERR! node-pre-gyp ERR! stack at ChildProcess. (/Users/natea/Documents/nate test/pdf hummus tests/node_modules/muhammara/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:390:28)
npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1064:16)
npm ERR! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
npm ERR! node-pre-gyp ERR! System Darwin 21.2.0
npm ERR! node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/natea/Documents/nate test/pdf hummus tests/node_modules/muhammara/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" ""
npm ERR! node-pre-gyp ERR! cwd /Users/natea/Documents/nate test/pdf hummus tests/node_modules/muhammara
npm ERR! node-pre-gyp ERR! node -v v16.13.2
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.17.0
npm ERR! node-pre-gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/natea/.npm/_logs/2022-01-27T21_09_13_518Z-debug.log

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