2 ms·
Does not work as soon as you use node modules that come with native components that have to be recompiled for the machine, and there are many of these. Colleag
by mschuster91 9y ago
Does not work as soon as you use node modules that come with native components that have to be recompiled for the machine, and there are many of these.
Colleagues have been bitten by this - one used OS X 10.11, the other 10.12, and they experienced weird bugs from this. Went away once they kicked out node_modules from git.
- tomjakubowski 9y agoYeah, it’s an annoying problem. Maybe you could gitignore the *.node (the native module file extension) files only. But I’m not sure how you’d rebuild those “on demand” after a checkout without running 'npm install' from the top level.
- nawitus 9y agoI suppose npm rebuild would work.