0

I try to install module sqlite? but there is an error, what to do: $ npm install sqlite3 npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated [email protected]: this library is no longer supported

[email protected] install D:\CODE\21_data\node_modules\sqlite3 node-pre-gyp install --fallback-to-build

Node.js is only supported on Windows 8.1, Windows Server 2012 R2, or higher. Setting the NODE_SKIP_PLATFORM_CHECK environment variable to 1 skips this check, but Node.js might not execute correctly. Any issues encountered on npm WARN enoent ENOENT: no such file or directory, open 'D:\CODE\21_data\package.json' npm WARN 21_data No description npm WARN 21_data No repository field. npm WARN 21_data No README data npm WARN 21_data No license field.

npm ERR! code ELIFECYCLE npm ERR! errno 216 npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build npm ERR! Exit status 216 npm ERR! npm ERR! Failed at the [email protected] install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Thanks for answers!
2
  • What version of Windows are you using? Commented Aug 27, 2020 at 19:26
  • 1
    i use windows 7 Commented Aug 27, 2020 at 20:35

1 Answer 1

1

Problems solved: 1.npm cache clean --force 2.delete node_modules folder 3.delete package-lock.json file 4.npm install

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.