Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing sqlite3 exceptions under Ubuntu xenial using Crouton on armhd platform #126

Open
jeff-luszcz opened this issue Aug 6, 2020 · 0 comments

Comments

@jeff-luszcz
Copy link

Am not able to get code-oss working under Ubuntu using Crouton on armhd platform

Following install instructions on the web site to install. Also confirmed that sqlite3 is installed under Linux (though may not be needed for this to work)

Am able to start code-oss from the command line and get the interface up though it appears that a required sqlite3 internal dependency can not be found. The log is littered with exceptions similar to:

[main 2020-08-06T18:00:29.315Z] [uncaught exception in main]: 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/bootstrap-amd.js
  • /usr/share/code-oss/resources/app/out/main.js

[main 2020-08-06T18:00:29.315Z] 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/bootstrap-amd.js
  • /usr/share/code-oss/resources/app/out/main.js
  • at Module._resolveFilename (internal/modules/cjs/loader.js:717:15)
    at Function../lib/common/reset-search-paths.ts.Module._resolveFilename (electron/js2c/browser_init.js:7645:16)
    at Module._load (internal/modules/cjs/loader.js:622:27)
    at Module._load (electron/js2c/asar.js:717:26)
    at Function.Module._load (electron/js2c/asar.js:717:26)
    at Module.require (internal/modules/cjs/loader.js:775:19)
    at require (/usr/share/code-oss/resources/app/out/vs/loader.js:694:36)
    at Object. (/usr/share/code-oss/resources/app/node_modules.asar/vscode-sqlite3/lib/sqlite3.js:1:77)
    at Module._compile (/usr/share/code-oss/resources/app/out/vs/loader.js:731:45)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:892:10)
    at Module.load (internal/modules/cjs/loader.js:735:32)
    at Module._load (internal/modules/cjs/loader.js:648:12)
    at Module._load (electron/js2c/asar.js:717:26)
    at Function.Module._load (electron/js2c/asar.js:717:26)
    at Module.require (internal/modules/cjs/loader.js:775:19)
    at require (internal/modules/cjs/helpers.js:68:18)
    at NodeScriptLoader.load (/usr/share/code-oss/resources/app/out/vs/loader.js:750:39)
    at OnlyOnceScriptLoader.load (/usr/share/code-oss/resources/app/out/vs/loader.js:588:32)
    at loadNextPath (/usr/share/code-oss/resources/app/out/vs/loader.js:1530:41)
    at Object.errorback (/usr/share/code-oss/resources/app/out/vs/loader.js:1538:25)
    at OnlyOnceScriptLoader.triggerErrorback (/usr/share/code-oss/resources/app/out/vs/loader.js:601:36)
    at /usr/share/code-oss/resources/app/out/vs/loader.js:588:151
    at /usr/share/code-oss/resources/app/out/vs/loader.js:767:25
    at step_1 (/usr/share/code-oss/resources/app/out/vs/loader.js:889:25)
    at ReadFileContext.callback (/usr/share/code-oss/resources/app/out/vs/loader.js:897:21)
    at FSReqCallback.readFileAfterOpen [as oncomplete] (fs.js:246:13)
    [main 2020-08-06T18:00:29.554Z] menubarService#updateMenubar 1
    [main 2020-08-06T18:00:29.724Z] [uncaught exception in main]: 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/bootstrap-amd.js
  • /usr/share/code-oss/resources/app/out/main.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant