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

Dependencies fail to install #10

Open
unkrich opened this issue Apr 27, 2022 · 0 comments · May be fixed by #11
Open

Dependencies fail to install #10

unkrich opened this issue Apr 27, 2022 · 0 comments · May be fixed by #11

Comments

@unkrich
Copy link

unkrich commented Apr 27, 2022

To recreate:

git clone https://github.com/metaphor-xyz/davatar
cd davatar

npm install

After running the following is outputted:

npm ERR! code 1
npm ERR! path /Users/kevinunkrich/Developer/crypto/davatar/ipfs_node/node_modules/go-ipfs
npm ERR! command failed
npm ERR! command sh -c node src/post-install.js
npm ERR! https://dist.ipfs.io/go-ipfs/versions
npm ERR! Error: No binary available for arch 'undefined'
npm ERR!     at getDownloadURL (/Users/kevinunkrich/Developer/crypto/davatar/ipfs_node/node_modules/go-ipfs/src/download.js:131:11)
npm ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
npm ERR!     at async download (/Users/kevinunkrich/Developer/crypto/davatar/ipfs_node/node_modules/go-ipfs/src/download.js:139:15)
npm ERR!     at async module.exports (/Users/kevinunkrich/Developer/crypto/davatar/ipfs_node/node_modules/go-ipfs/src/download.js:196:13)

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/kevinunkrich/.npm/_logs/2022-04-27T05_40_09_510Z-debug-0.log
npm ERR! code 1
npm ERR! path /Users/kevinunkrich/Developer/crypto/davatar
npm ERR! command failed
npm ERR! command sh -c (cd app && npm install); (cd functions && npm install); (cd ipfs_node && npm install)

After manually installing dependencies in each repository and based on error, became clear that the issue is with the version of go-ipfs.

There also seems to be an issue with the firebase dependency that is not shown in this error.

@unkrich unkrich linked a pull request Apr 27, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant