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

Does not build on macOS M1/arm and many dependency issues while installing #2519

Open
Simon-Laux opened this issue May 10, 2024 · 0 comments

Comments

@Simon-Laux
Copy link

Simon-Laux commented May 10, 2024

Branch develop : 8aa9e0c

node-sass -> node-gyp python error because my system python is too new

The error is sth about opening a file with the wrong flags (some flag was removed by newer python)

I recommend upgrading/changing dependencies to get rid of node-sass, as it is deprecated, so switch to dart sass (npm:sass) instead.

multiple dependency resolution errors

Some that I remember were about react native version.

Recommendations:

  • as a developer make a clean clone & install from time to time to test that process
  • make sure everyone uses the right versions of nodejs and npm, maybe someone still uses old npm's dependency reolution?
  • update all dependencies
  • generally: reduce dependencies to as few as possible, less dependencies mean less potential for bugs and less attack surface to "supply chain attacks"

On the node of node version management I like the newer fnm more than nvm, because it's much faster.

go-ipfs does not know arm

go-ipfs does not exist anymore, so I used overrides to redirect it to it's new package name kubo:

	"overrides": {
		"go-ipfs": "npm:kubo"
	}

Unfortunately it has this issue about arm as an unknown platform since 2022: ipfs/npm-kubo#49

I would consider alternative installation options for ipfs, also maybe https://github.com/n0-computer/iroh is also worth a look, though I don't know if it is already mature enough for quiet's use case, as I'm an IPFS newbie.

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