top | item 11059039 (no title) thealphanerd | 10 years ago Careful checking in you build folder. If there are any native modules, and you are not on the same architecture, everything will explode.This can be avoided by adding "npm rebuild" to your deployment. discuss order hn newest tjelen|10 years ago I guess you mean the node_modules folder, where in fact this makes a lot of sense. What OP means is the build folder to which the frontend part of project is compiled. true_religion|10 years ago I've been contemplating just checking in the build folder.It does feel like a code smell, but it'd make deployment easier.Our frontend is Javascript, wherein there's no worry about native modules.Our backend is Python running Pypy, so there's no native code there either.
tjelen|10 years ago I guess you mean the node_modules folder, where in fact this makes a lot of sense. What OP means is the build folder to which the frontend part of project is compiled.
true_religion|10 years ago I've been contemplating just checking in the build folder.It does feel like a code smell, but it'd make deployment easier.Our frontend is Javascript, wherein there's no worry about native modules.Our backend is Python running Pypy, so there's no native code there either.
tjelen|10 years ago
true_religion|10 years ago
It does feel like a code smell, but it'd make deployment easier.
Our frontend is Javascript, wherein there's no worry about native modules.
Our backend is Python running Pypy, so there's no native code there either.