Closed marcoippolito closed 4 years ago
Node-gyp should be installed globally rather than at the project level.
Also, I think this might be an issue with the utp-native module not compiling on node 14, so it might be worth it to open an issue there. 😁 https://github.com/mafintosh/utp-native
@RangerMauve I guess you are right. It should be a problem of utp-native module with node 14. I opened an issue: https://github.com/mafintosh/utp-native/issues/36
Feel free to submit a pull request that updates the dependency once they fix it. 😁
In the meantime, you can try using Node@12 using nvm or something. I've had good results with it so far
@RangerMauve utp-native owner says that he doesn't know enough about my environment to help me with that.
I tried to install discovery-swarm-web with v.12 of node.js but still get the same errors: discovery-swarm-web-node12-InstallationProblems.txt
After removing discovery-swarm-web and node-gyp, the installation of utp-native and of node-gyp went fine this time: utp-nativeInstallationOK.txt.
But after correctly installing utp-native and node-gyp, installing discovery-swarm-web has the same problems: discovery-swarm-web-node12-InstallationProblemsAfterCorrectlyInstallingUtpNativeNodeGyp.txt
@marcoippolito Have you considered using hyperswarm-web
in the meantime? It uses a newer version of utp-native which might help.
I then removed discovery-swarm-web and installed node-gyp alone:
But adding again discovery-swarm-web package gives the above errors