codebuilds
codebuilds copied to clipboard
sqlite error
I got this error on raspbian (raspberry pi 4) which causes context data cannot be stored so welcome pages, notification always appear on launch. Any idea on this?
ERR [storage state.vscdb] open(): Unable to open DB due to Error: Cannot find module '../build/Release/sqlite'
Require stack:
- /usr/share/code-oss/resources/app/node_modules.asar/vscode-sqlite3/lib/sqlite3.js
- /usr/share/code-oss/resources/app/out/vs/loader.js
- /usr/share/code-oss/resources/app/out/bootstrap-window.js
- /usr/share/code-oss/resources/app/out/vs/code/electron-browser/workbench/workbench.html
The SQLite error messages don't only appear in the log today and not only on RPi 4. I saw this in December 2018 and is nothing new. I suspect that it exists longer. I haven't seen this before, because I have never looked in the log before.
Despite this error message, Code-OSS should run normally.
I just spent a good 2 hours on this problem
- new rpi 4, installed code-oss from headmelted
- open vscode, notice opt-out notification for telemetry
- update settings to opt-out
- every time i open vscode i see the opt out message
- search for an hour for anything bug report about the notification always appearing - nothing
- checked the logs found the sqlite3 exception
- spent a couple of hours trying to build sqlite and update npm and node -- never fixed the module note found exception
- decided to finally give up and report the bug to this repo..and found this bug
so.. yeah -- it would be nice if this gets fixed or anyone can find a work around
Thanks!
@payonel - I have build a version for myself. You can download it here https://github.com/tuanpham-dev/vscode-arm-builder/releases. I will create pull request for this soon.