node-wordnet-magic icon indicating copy to clipboard operation
node-wordnet-magic copied to clipboard

sqlite3 install error

Open robert-wallis opened this issue 7 years ago • 3 comments

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

robert-wallis avatar Sep 12 '17 21:09 robert-wallis

just include the sqlite3 version in the package.json like below: { . . "sqlite3": "^3.1.8" . . . } then run npm install

gujral1997 avatar Jan 07 '18 17:01 gujral1997

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?

AliAghel avatar Aug 12 '18 10:08 AliAghel

Had same issues, had to remove dependency on sqlite in this package https://www.npmjs.com/package/node-wordnet-magic-nosql

contactsamie avatar Apr 14 '21 02:04 contactsamie