Persistent api cumulative project step 17 problem

Hi everyone! As i work through the persistent api cumulative project i get this sqlite error message:

throw er; // Unhandled ‘error’ event

[Error: SQLITE_ERROR: near “IT”: syntax error
Emitted ‘error’ event on Statement instance at:
] {
errno: 1,
Before that i changed my sql version in the package.json file, as i had this message: Error: Cannot find module ‘sqlite3’
Require stack:

  • D:\projet\press publishing\migration.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
    at Function.Module._load (internal/modules/cjs/loader.js:841:27)
    at Module.require (internal/modules/cjs/loader.js:1025:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object. (D:\projet\press publishing\migration.js:1:17)
    at Module._compile (internal/modules/cjs/loader.js:1137:30)
    at Object.Module._extensions…js (internal/modules/cjs/loader.js:1157:10)
    at Module.load (internal/modules/cjs/loader.js:985:32)
    at Function.Module._load (internal/modules/cjs/loader.js:878:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) {
    code: ‘MODULE_NOT_FOUND’,
    requireStack: [ ‘D:\projet\press publishing\migration.js’ ]
    I am kind of stuck actually, so do you guys know what i did wrong?

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.