Closed jariz closed 7 years ago
Cloning this repo and then running npm i --build-from-source
does, in fact work.
But when using node_or_tools as a dependency, compilation will fail.
Probably an oversight because we use the pre-built binaries for node 4 and node 6 (lts versions). Feel free to make a pr adding the source directory to the npmignore whitelist (and the deps file in the scripts directory, too).
Fixed by #36
Just published v1.0.5 including the changes.
Sorry for the regression based on https://github.com/mapbox/node-or-tools/issues/32#issuecomment-320662762.
Thanks dude!
The src folder exists in the repo but not in the npm package (it seems).
It's explicitly ignored in
.npmignore
, why?Environment
OSX/Linux (tried both)
Reproducible by run
npm install node_or_tools --build-from-source
Expectation Building from source succeeds.
Logs
OSX: (full)
Linux: (full)