←back to thread

272 points abdisalan | 2 comments | | HN request time: 0s | source
Show context
speedgoose ◴[] No.42175877[source]
I would heavily recommend to avoid NodeJS packages that depend on node-gyp. Node-gyp powered dependencies are very seldomly worth the hassle.

If you must depend on node-gyp, perhaps use dev containers so at least every developer in your team can work most of the time.

replies(4): >>42175988 #>>42176323 #>>42185890 #>>42191185 #
1. eterm ◴[] No.42176323[source]
I don't even know what node-gyp is, but I know it appears regularly in error messages to know it causes problems.

I don't even develop against Node, it has just crept into our front-end build toolchain.

replies(1): >>42177475 #
2. philipwhiuk ◴[] No.42177475[source]
It's the JS equivalent of allowing native bindings (like JNI in Java).