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 install azimutt-cli #244

Open
akkuman opened this issue Jun 26, 2023 · 1 comment
Open

cannot install azimutt-cli #244

akkuman opened this issue Jun 26, 2023 · 1 comment

Comments

@akkuman
Copy link

akkuman commented Jun 26, 2023

I try it in docker

image:

  • node:18-bullseye
  • node:20-bullseye
  • node:16-bullseye

error:
2023-06-26T01_48_57_757Z-debug-0.log

@loicknuchel
Copy link
Contributor

Hi @akkuman

Looks like it's an issue with the [email protected] dependency and it's compilation on npm install.
I'm far from an expert on this but this line: 1922 error -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed makes me think you miss a dependency on your system.
Also found some error lines like:

1922 error -- Performing Test HAVE_VISUAL_STUDIO_ARCH_AVX - Failed
1922 error -- Performing Test HAVE_VISUAL_STUDIO_ARCH_AVX2 - Failed
1922 error -- Performing Test SNAPPY_HAVE_SSSE3 - Failed
1922 error -- Performing Test SNAPPY_HAVE_X86_CRC32 - Failed
1922 error -- Performing Test SNAPPY_HAVE_NEON_CRC32 - Failed
1922 error -- Performing Test SNAPPY_HAVE_BMI2 - Failed
1922 error -- Performing Test SNAPPY_HAVE_NEON - Failed

But after that is seems the build succeeded and failed later with the error at the end:

1923 error fatal: not a git repository (or any of the parent directories): .git
1923 error In file included from /usr/local/lib/node_modules/azimutt/node_modules/couchbase/src/addondata.cpp:1:
1923 error /usr/local/lib/node_modules/azimutt/node_modules/couchbase/src/addondata.hpp:2:10: fatal error: napi.h: No such file or directory
1923 error     2 | #include <napi.h>
1923 error       |          ^~~~~~~~

Not really sure what happened.
Could you try to create and empty JS project, include the [email protected] dependency and see if it install well?
If no, I think you could ask them what is happening (https://github.com/couchbase/couchnode).
If yes, we will have to investigate more...

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

2 participants