[ERROR] /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/user/projects/ordermanagement/node_modules/sqlite3/lib/binding/napi-v6-linux-x64/node_sqlite3.node) when i run cds watch . Any idea how to resolve this. I have tried installing all NPM package modules multiple times. I have deleted by trial account and installed again. I have rebooted by PC too.
Request clarification before answering.
OK, I found the solution. The sqlite3 module was just recently updated to version 5.0.3. As the the standard CAP project template defines
"devDependencies": {
"sqlite3": "^5.0.2"
}you will get this version installed. When you change it to:"devDependencies": {
"sqlite3": "5.0.2"
}and run npm install again you're back in business.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check out also the known problems in the sqlite3 v5.0.3 release notes.
Did you choose "Full Stack Cloud Application Dev Space" when creating your dev space? I've just did that and created the CAP sample project using the wizard in BAS. No issues there.
Also you should understand that BAS is running in a Container. So rebooting your local computer or using a different access point will not change anything.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In my freshly created dev space I didn't even ran npm install. Seems that is the trick. After npm install I get the same error:
user: ordermanagement $ node -v
v14.17.6
user: ordermanagement $ npm -v
6.14.15
user: ordermanagement $ cds watch
cds serve all --with-mocks --in-memory?
watching: cds,csn,csv,ts,mjs,cjs,js,json,properties,edmx,xml,env,css,gif,html,jpg,png,svg...
live reload enabled for browsers
_______________________
[cds] - model loaded from 2 file(s):
./db/data-model.cds
./srv/cat-service.cds
[cds] - connect using bindings from: { registry: '~/.cds-services.json' }
[cds] - connect to db > sqlite { database: ':memory:' }
[ERROR] /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/user/projects/ordermanagement/node_modules/sqlite3/lib/binding/napi-v6-linux-x64/node_sqlite3.node)Seems that is something the BAS team has to fix.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.