Node js version problems
See original GitHub issueP-Brain not working with nodejs v12.14.0, it will be an update soon? so we can continue working the project with latest features… many thanks!
`C:\WorkSpace\brain>yarn start yarn run v1.16.0 warning package.json: License should be a valid SPDX license expression $ node server.js Using default SQLite database provider Setting up database. Error: Cannot find module ‘C:\WorkSpace\brain\node_modules\sqlite3\lib\binding\node-v72-win32-x64\node_sqlite3.node’ Require stack:
- C:\WorkSpace\brain\node_modules\sqlite3\lib\sqlite3.js
- C:\WorkSpace\brain\db\sqlite_db\index.js
- C:\WorkSpace\brain\db\index.js
- C:\WorkSpace\brain\server.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:797:15) at Function.Module._load (internal/modules/cjs/loader.js:690:27) at Module.require (internal/modules/cjs/loader.js:852:19) at require (internal/modules/cjs/helpers.js:74:18) at Object.<anonymous> (C:\WorkSpace\brain\node_modules\sqlite3\lib\sqlite3.js:4:15) at Module._compile (internal/modules/cjs/loader.js:959:30) at Object.Module._extensions…js (internal/modules/cjs/loader.js:995:10) at Module.load (internal/modules/cjs/loader.js:815:32) at Function.Module._load (internal/modules/cjs/loader.js:727:14) at Module.require (internal/modules/cjs/loader.js:852:19) { code: ‘MODULE_NOT_FOUND’, requireStack: [ ‘C:\WorkSpace\brain\node_modules\sqlite3\lib\sqlite3.js’, ‘C:\WorkSpace\brain\db\sqlite_db\index.js’, ‘C:\WorkSpace\brain\db\index.js’, ‘C:\WorkSpace\brain\server.js’ ] } (node:92036) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘C:\WorkSpace\brain\node_modules\sqlite3\lib\binding\node-v72-win32-x64\node_sqlite3.node’ Require stack:
- C:\WorkSpace\brain\node_modules\sqlite3\lib\sqlite3.js
- C:\WorkSpace\brain\db\sqlite_db\index.js
- C:\WorkSpace\brain\db\index.js
- C:\WorkSpace\brain\server.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:797:15) at Function.Module._load (internal/modules/cjs/loader.js:690:27) at Module.require (internal/modules/cjs/loader.js:852:19) at require (internal/modules/cjs/helpers.js:74:18) at Object.<anonymous> (C:\WorkSpace\brain\node_modules\sqlite3\lib\sqlite3.js:4:15) at Module._compile (internal/modules/cjs/loader.js:959:30) at Object.Module._extensions…js (internal/modules/cjs/loader.js:995:10) at Module.load (internal/modules/cjs/loader.js:815:32) at Function.Module._load (internal/modules/cjs/loader.js:727:14) at Module.require (internal/modules/cjs/loader.js:852:19) (node:92036) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) (node:92036) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. Done in 1.00s.`
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
was compiled against a different Node.js version using ...
Worked for me! My exact error was - "The module '/Users/<username>/Downloads/intro-to-graphql/node_modules/bcrypt/lib/binding/bcrypt_lib .node' ...
Read more >6 reasons your Node.js apps are failing
Common Node.js deployment problems · Uncaught exception or error event in JavaScript code · Excessive memory usage, which may result in an out-of-memory...
Read more >Issues · nodejs/node
Issues list · AbortController/AbortSignal Triggering 'Error' Event in Child Process · Unexpected output of Intl. · Entry points specified as ...
Read more >Troubleshooting Node.js Deploys
Your Node.js deploy failed - now what? Start with these simple steps to troubleshoot a build issue. Check the buildpack.
Read more >Common errors
The error Error: ENOENT, stat 'C:\Users\<user>\AppData\Roaming\npm' on Windows 7 is a consequence of joyent/node#8141, and is an issue with the Node installer ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You might need to update your sqllite node package in the project directory, I dont work with this much but will look into maintaining it a little further. I’m curious, what are people using this project for personally? Any cool examples of where it’s being used?
@patrickjquinn You are the best!!! Working perfect! Thank you very much 😃