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

Install failed on nixos #71

Open
T00rk opened this issue Mar 11, 2024 · 0 comments
Open

Install failed on nixos #71

T00rk opened this issue Mar 11, 2024 · 0 comments
Labels
need/triage Needs initial labeling and prioritization

Comments

@T00rk
Copy link

T00rk commented Mar 11, 2024

I tried npm install kubo on nixos 23.11.

npm ERR! code 1
npm ERR! path /home/romain/Projets/rust/identia/node_modules/kubo
npm ERR! command failed
npm ERR! command sh -c node src/post-install.js
npm ERR! https://dist.ipfs.tech/kubo/versions
npm ERR! Found /home/romain/.cache/npm-kubo/kubo_v0.25.0_linux-amd64.tar.gz
npm ERR! Verifying kubo_v0.25.0_linux-amd64.tar.gz.sha512
npm ERR! OK (c77a332237744b53e505a7904e9969c97825394c81bb8f348f00d355444dd558178741077e449cff494c857f74d22111dc3ea4fdf078896d9a9c7abaa85ee8c5)
npm ERR! Unpacked /home/romain/Projets/rust/identia/node_modules/kubo
npm ERR! Linking /home/romain/Projets/rust/identia/node_modules/kubo/kubo/ipfs to /home/romain/Projets/rust/identia/node_modules/kubo/bin/ipfs
npm ERR! Error: ipfs binary failed: Error: spawnSync /home/romain/Projets/rust/identia/node_modules/kubo/bin/ipfs ENOENT
npm ERR!     at link (/home/romain/Projets/rust/identia/node_modules/kubo/src/download.js:220:11)
npm ERR!     at module.exports (/home/romain/Projets/rust/identia/node_modules/kubo/src/download.js:248:10)
npm ERR!     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Directory /home/romain/Projets/rust/identia/node_modules/kubo doesn't exist after installation failed.

I found kubo_v0.25.0_linux-amd64.tar.gz in /home.romain/.cache/npm-kubo.
I extracted it using tar -xvf kubo_v0.25.0_linux-amd64.tar.gz and when I tried bash ./kubo/ipfs,
I got the error ./kubo/ipfs: ./kubo/ipfs : cannot execute binary file

@T00rk T00rk added the need/triage Needs initial labeling and prioritization label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need/triage Needs initial labeling and prioritization
Projects
None yet
Development

No branches or pull requests

1 participant