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

@ ./~/mariasql/lib/Client.js 13:10-45

Open maxifjaved opened this issue 9 years ago • 3 comments

Here is message details: I am using this package with redux and react

WARNING in ./~/mariasql/lib/Client.js Module not found: Error: Cannot resolve 'file' or 'directory' ../build/Release/sqlclient in /home/maxifjaved/Desktop/manish/node_modules/mariasql/lib @ ./~/mariasql/lib/Client.js 11:10-47

ERROR in ./~/mariasql/lib/Client.js Module not found: Error: Cannot resolve 'file' or 'directory' ../build/Debug/sqlclient in /home/maxifjaved/Desktop/manish/node_modules/mariasql/lib @ ./~/mariasql/lib/Client.js 13:10-45

maxifjaved avatar Oct 12 '16 20:10 maxifjaved

You're not trying to use mariasql from the browser are you?

mscdex avatar Oct 12 '16 20:10 mscdex

I am experiencing a similar issue running the code with devtool.

I get the following error message:

Cannot find module '../build/Debug/sqlclient' 

flongo avatar Dec 08 '16 17:12 flongo

@flongo How are you trying to use the addon? You can replace the addon = require(..../Debug/sqlclient) in the lib/Client.js with throw ex to get the real error.

mscdex avatar Dec 08 '16 19:12 mscdex