Skip to content
This repository has been archived by the owner on Nov 21, 2022. It is now read-only.

Install fails on Node 14 #2

Closed
doc-l opened this issue Sep 19, 2020 · 2 comments
Closed

Install fails on Node 14 #2

doc-l opened this issue Sep 19, 2020 · 2 comments

Comments

@doc-l
Copy link

doc-l commented Sep 19, 2020

It's because of the sodium-native dependency: sodium-friends/sodium-native#136

Node 12 works. Just a heads up to update the package once that issue is fixed :)

@kikengineering
Copy link
Contributor

Thanks for the heads up!

The build passed on my local machine, but as you pointed out in the issue, it's likely due the fact that I have libtool installed.

I believe that the rest of the install / usage should still work, as stellar-base should fallback to tweetnacl if sodium-native is not present / built correctly.

@kikengineering
Copy link
Contributor

It doesn't look like we can just 'omit' the sodium-native dependency, since we don't explicitly pull it in.

However, I was able to rm -rf node_modules/sodium-native, and everything worked correctly. A small section in https://github.com/kinecosystem/kin-node#installation has been added to highlight this.

@chaseeb chaseeb closed this as completed Jan 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants