You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to create a desktop app using electron, I need a database for it and I need it to be sqlite, I'm having trouble connecting to my sqlite database on dir database/db.sqlite, I can't find any examples about sqlite transactions, also when I install orm and do import orm from 'orm'; I get these:
WARNING in ./~/orm/lib/ORM.js
195:18-62 Critical dependency: the request of a dependency is an expression
WARNING in ./~/orm/lib/ORM.js
284:10-49 Critical dependency: the request of a dependency is an expression
WARNING in ./~/orm/lib/Model.js
516:13-20 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
ERROR in ./~/orm/lib/Drivers/DML/mongodb.js
Module not found: Error: Can't resolve 'mongodb' in 'C:\Users\aprilpineda\Documents\projects\desktop\experiments\1-lis\node_modules\orm\lib\Drivers\DML'
@ ./~/orm/lib/Drivers/DML/mongodb.js 2:16-34
@ ./~/orm/lib/Drivers/DML ^\.\/.*$
@ ./~/orm/lib/Adapters.js
@ ./~/orm/lib/ORM.js
@ ./resources/assets/scripts/helpers/User.js
@ ./resources/assets/scripts/pages/Landing.js
@ ./resources/assets/scripts/entry.js
ERROR in ./~/orm/lib/Drivers/DML/mysql.js
Module not found: Error: Can't resolve 'mysql' in 'C:\Users\aprilpineda\Documents\projects\desktop\experiments\1-lis\node_modules\orm\lib\Drivers\DML'
@ ./~/orm/lib/Drivers/DML/mysql.js 2:14-30
@ ./~/orm/lib/Drivers/DML ^\.\/.*$
@ ./~/orm/lib/Adapters.js
@ ./~/orm/lib/ORM.js
@ ./resources/assets/scripts/helpers/User.js
@ ./resources/assets/scripts/pages/Landing.js
@ ./resources/assets/scripts/entry.js
ERROR in ./~/orm/lib/Drivers/DML/postgres.js
Module not found: Error: Can't resolve 'pg' in 'C:\Users\aprilpineda\Documents\projects\desktop\experiments\1-lis\node_modules\orm\lib\Drivers\DML'
@ ./~/orm/lib/Drivers/DML/postgres.js 2:14-27
@ ./~/orm/lib/Drivers/DML ^\.\/.*$
@ ./~/orm/lib/Adapters.js
@ ./~/orm/lib/ORM.js
@ ./resources/assets/scripts/helpers/User.js
@ ./resources/assets/scripts/pages/Landing.js
@ ./resources/assets/scripts/entry.js
ERROR in ./~/orm/lib/Drivers/DML/sqlite.js
Module not found: Error: Can't resolve 'sqlite3' in 'C:\Users\aprilpineda\Documents\projects\desktop\experiments\1-lis\node_modules\orm\lib\Drivers\DML'
@ ./~/orm/lib/Drivers/DML/sqlite.js 3:14-32
@ ./~/orm/lib/Drivers/DML ^\.\/.*$
@ ./~/orm/lib/Adapters.js
@ ./~/orm/lib/ORM.js
@ ./resources/assets/scripts/helpers/User.js
@ ./resources/assets/scripts/pages/Landing.js
@ ./resources/assets/scripts/entry.js
I am also bundling my js files using webpack.
The text was updated successfully, but these errors were encountered:
Hi, I'm trying to create a desktop app using electron, I need a database for it and I need it to be sqlite, I'm having trouble connecting to my sqlite database on dir
database/db.sqlite
, I can't find any examples about sqlite transactions, also when I install orm and doimport orm from 'orm';
I get these:I am also bundling my js files using webpack.
The text was updated successfully, but these errors were encountered: