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

DAT fails to build on fresh ubuntu 24 on azure #147

Open
tobiasnteireho opened this issue Jun 4, 2024 · 0 comments
Open

DAT fails to build on fresh ubuntu 24 on azure #147

tobiasnteireho opened this issue Jun 4, 2024 · 0 comments

Comments

@tobiasnteireho
Copy link
Collaborator

Attempting to run npm run deploy yields following error

npm ERR! code 1
npm ERR! path /home/a2j/a2jdat/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! make: Entering directory '/home/a2j/a2jdat/node_modules/muhammara/build'
npm ERR!   CXX(target) Release/obj.target/pdfwriter/src/deps/PDFWriter/AbstractContentContext.o
npm ERR! make: Leaving directory '/home/a2j/a2jdat/node_modules/muhammara/build'
npm ERR! Failed to execute '/home/a2j/.nvm/versions/node/v16.20.2/bin/node /home/a2j/.nvm/versions/node/v16.20.2/lib/node_modules/npm/node_modules/@npmcli/run-script/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/a2j/a2jdat/node_modules/muhammara/binding/muhammara.node --module_name=muhammara --module_path=/home/a2j/a2jdat/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 [email protected]
npm ERR! node-pre-gyp info using [email protected] | linux | x64
npm ERR! node-pre-gyp WARN Using request for node-pre-gyp https download 
npm ERR! node-pre-gyp info check checked for "/home/a2j/a2jdat/node_modules/muhammara/binding/muhammara.node" (not found)

This is unresolvable with previous workarounds such as deleting package-lock.json re-cloning repo or manually installing muhammara. Same repo builds in other environments

tobiasnteireho added a commit that referenced this issue Jun 4, 2024
fix #147 
resolution was to update muhammara dependency
tobiasnteireho added a commit that referenced this issue Jun 4, 2024
fix #147 

resolution to build issue is to update muhammara dependency to latest version
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