You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found my language only works with node bindings if I include node-gyp as a dependency, but only on Windows. On Linux this dependency was not needed.
On the other hand tree-sitter-javascript does not seem to require node-gyp, on Windows or otherwise. The only difference I could find was that tree-sitter-javascript has the prebuilds directory, while my language does not.
Is it correct to conclude, as seems to make sense, that if prebuilds are available you don't need node-gyp, otherwise you do? What I can't figure is why Linux didn't need it; maybe to do with specific config.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I found my language only works with node bindings if I include
node-gyp
as a dependency, but only on Windows. On Linux this dependency was not needed.On the other hand
tree-sitter-javascript
does not seem to requirenode-gyp
, on Windows or otherwise. The only difference I could find was thattree-sitter-javascript
has the prebuilds directory, while my language does not.Is it correct to conclude, as seems to make sense, that if prebuilds are available you don't need
node-gyp
, otherwise you do? What I can't figure is why Linux didn't need it; maybe to do with specific config.Beta Was this translation helpful? Give feedback.
All reactions