node-mariasql icon indicating copy to clipboard operation
node-mariasql copied to clipboard

Error: Cannot find module 'mariasql'

Open 123ajit opened this issue 5 years ago • 0 comments

(node:6640) UnhandledPromiseRejectionWarning: Error: Cannot find module 'mariasql' Require stack:

  • C:\Users\User\Desktop\packageforwarding\Backend\lib\mysql2.js
  • C:\Users\User\Desktop\packageforwarding\Backend\globals\functions__getMysql.js
  • C:\Users\User\Desktop\packageforwarding\Backend\globals\functions.js
  • C:\Users\User\Desktop\packageforwarding\Backend\master.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15) at Function.Module._load (internal/modules/cjs/loader.js:725:27) at Module.require (internal/modules/cjs/loader.js:952:19) at require (internal/modules/cjs/helpers.js:88:18) at Object. (C:\Users\User\Desktop\packageforwarding\Backend\lib\mysql2.js:1:22) at Module._compile (internal/modules/cjs/loader.js:1063:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10) at Module.load (internal/modules/cjs/loader.js:928:32) at Function.Module._load (internal/modules/cjs/loader.js:769:14) at Module.require (internal/modules/cjs/loader.js:952:19) (Use node --trace-warnings ... to show where the warning was created) (node:6640) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:6640) [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.

123ajit avatar Jan 05 '21 05:01 123ajit