Closed rickhewes closed 2 years ago
I'm trying to run desktop starter on win10, but failed as the attached. not sure what's the problem here. npm start ----
10 silly lifecycle desktop-starter@1.0.0~build: Args: [
10 silly lifecycle '/d /s /c',
10 silly lifecycle 'npm run build:backend && cross-env USE_FAST_SASS=true npm run build:frontend && npm run copy'
10 silly lifecycle ]
11 silly lifecycle desktop-starter@1.0.0~build: Returned: code: 1 signal: null
12 info lifecycle desktop-starter@1.0.0~build: Failed to exec build script
13 verbose stack Error: desktop-starter@1.0.0 build: npm run build:backend && cross-env USE_FAST_SASS=true npm run build:frontend && npm run copy
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.
@rickhewes the desktop-starter should work out of the box for linux distros based on at least debian 9, which is the officially supported iModel.js distro. We'll need to look into what the issue is with Fedora 32.
From the error message it looks related to our Desktop OIDC sign-in setup, are you able to open a snapshot iModel without sign-in?
cc: @ramanujam-raman
@tommywu052 would you mind opening a separate issue for this? It doesn't seem related to this issue. Also can you include the exact steps you're following when creating the new issue. Thanks!
@ramanujam-raman this error remains reproducible on Linux (Ubuntu 20.04 here), with both imodeljs 2.11 and 2.12. Do you know what getPassword
function it is even trying to call?
@pmconne that function calls into @bentley/imodeljs-native
code to get the password using KeyTar. Currently our implementation of KeyTar does not support Linux. We have it on the backlog but no timeline on it yet.
I am going to move this issue over to the iModel.js repo to be better tracked with the source as this isn't an issue with the Desktop Starter explicitly.
@rickhewes this issue has been addressed in iTwin.js 3.0 and desktop apps should now work on Linux. Any desktop app using our Electron auth client will lack support for caching a password forcing you to sign-in each time the app is started. However, support for caching on Linux is in progress here.
If you'd like to try it out, please give the release candidate of 3.0, details here.
Closing as the issue has been initially addressed with the 3.0 release; and theres been no update from the user since.
Hi,
Just trying out iModel.js and having problems on linux. I would expect the desktop-starter to work out of the box. It does on Windows but on Linux (Fedora 32) I have the following issue.
Any help appreciated!
Cheers,
Rick.