node-wordnet-magic
node-wordnet-magic copied to clipboard
sqlite3 install error
When running npm install wordnet-magic
sqlite3 fails.
$ npm install --save wordnet-magic
npm WARN deprecated [email protected]: critical bug fixed in v2.0.4
> [email protected] install /Users/robert/Dev/test/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build
[sqlite3] Success: "/Users/robert/Dev/test/node_modules/sqlite3/lib/binding/node-v57-darwin-x64/node_sqlite3.node" is installed via remote
npm WARN saveError ENOENT: no such file or directory, open '/Users/robert/Dev/test/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/Users/robert/Dev/test/package.json'
npm WARN test No description
npm WARN test No repository field.
npm WARN test No README data
npm WARN test No license field.
+ [email protected]
added 148 packages in 7.811s
They say use npm install sqlite3 --build-from-source
https://github.com/mapbox/node-sqlite3/issues/612
just include the sqlite3 version in the package.json like below:
{
.
.
"sqlite3": "^3.1.8"
.
.
.
}
then run npm install
Installation failed! Still there is an issue with 'sqlite3'. Although some suggested to update to v4.0.2 but still not working.
Any thoughts or update?
Had same issues, had to remove dependency on sqlite in this package https://www.npmjs.com/package/node-wordnet-magic-nosql