Closed annabbabl closed 1 month ago
Hi please provide detailed steps to reproduce this issue. Which versions do you use? Which Node version do you use? Did npm rebuild
or npm install
solve the issue? Looks like other ppl had the same issue before.
Try to use @cap-js/sqlite -D And yes I did npm install/rebuild, multiple times.
Am Do., 11. Juli 2024 um 16:54 Uhr schrieb Patrice Bender < @.***>:
Hi please provide detailed steps to reproduce this issue. Which versions do you use? Which Node version do you use? Did npm rebuild or npm install solve the issue? Looks like other ppl had the same issue before https://github.com/WiseLibs/better-sqlite3/issues/919.
— Reply to this email directly, view it on GitHub https://github.com/cap-js/cds-dbs/issues/741#issuecomment-2223151365, or unsubscribe https://github.com/notifications/unsubscribe-auth/AST6DVGYKYNEOU3LUF6R2X3ZL2MC7AVCNFSM6AAAAABKW5EFSWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRTGE2TCMZWGU . You are receiving this because you authored the thread.Message ID: @.***>
So it happens every time I start my cap application. And debug it by using cds-ts watch
Am Do., 11. Juli 2024 um 19:27 Uhr schrieb Anna Stabel < @.***>:
Try to use @cap-js/sqlite -D And yes I did npm install/rebuild, multiple times.
Am Do., 11. Juli 2024 um 16:54 Uhr schrieb Patrice Bender < @.***>:
Hi please provide detailed steps to reproduce this issue. Which versions do you use? Which Node version do you use? Did npm rebuild or npm install solve the issue? Looks like other ppl had the same issue before https://github.com/WiseLibs/better-sqlite3/issues/919.
— Reply to this email directly, view it on GitHub https://github.com/cap-js/cds-dbs/issues/741#issuecomment-2223151365, or unsubscribe https://github.com/notifications/unsubscribe-auth/AST6DVGYKYNEOU3LUF6R2X3ZL2MC7AVCNFSM6AAAAABKW5EFSWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRTGE2TCMZWGU . You are receiving this because you authored the thread.Message ID: @.***>
please provide a sample project where I can reproduce this (never seen this in all my cap projects with this dependency), otherwise I can just guess what is wrong here :/
Hi @annabbabl
If the problem persists, please feel free to re-open → If you provide the project + steps to reproduce I'll have a look.
[cds] - ❗️Uncaught Error: The module '/Users/I569113/Documents/SAP/Praxisphase 4/custom widgets/notifications/node_modules/better-sqlite3/build/Release/better_sqlite3.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 120. This version of Node.js requires NODE_MODULE_VERSION 108. Please try re-compiling or re-installing the module (for instance, using
npm rebuild
ornpm install
).