-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hi, I wanted to try Northwind React demo (using SQLite). Unfortunatelly, I got the following error during the server setup process (node export
):
DatabaseError [SequelizeDatabaseError]: SQLITE_ERROR: near "Order": syntax error
at Query.formatError (/Users/.../northwind-demo/server/NorthwindSequelize/node_modules/sequelize/lib/dialects/sqlite/query.js:403:16)
at Query._handleQueryResponse (/Users/.../northwind-demo/server/NorthwindSequelize/node_modules/sequelize/lib/dialects/sqlite/query.js:72:18)
at afterExecute (/Users/.../northwind-demo/server/NorthwindSequelize/node_modules/sequelize/lib/dialects/sqlite/query.js:238:27)
at Statement.errBack (/Users/.../northwind-demo/server/NorthwindSequelize/node_modules/sqlite3/lib/sqlite3.js:14:21) {
parent: [Error: SQLITE_ERROR: near "Order": syntax error] {
errno: 1,
code: 'SQLITE_ERROR',
sql: 'PRAGMA foreign_key_list(Order)'
},
original: [Error: SQLITE_ERROR: near "Order": syntax error] {
errno: 1,
code: 'SQLITE_ERROR',
sql: 'PRAGMA foreign_key_list(Order)'
},
sql: 'PRAGMA foreign_key_list(Order)',
parameters: undefined
}
How to reproduce the error:
- in
./dbscripts
runnpm install sqlite3
andnode sqlite-import
- in
./server/NorthwindSequelize
run 1.npm install
,npm run tsc
andnode export
and this is when the error occurs.
Metadata
Metadata
Assignees
Labels
No labels