To expand on Colin's response, many major version changes of node.js come with an update C++ compiler and libraries and so any binary libraries included in packages have to be recompiled. That is what the npm rebuild command will do.
To expand on Colin's response, many major version changes of node.js come with an update C++ compiler and libraries and so any binary libraries included in packages have to be recompiled. That is what the npm rebuild command will do.