EFB sample error

Version: 1.0.77.0

Frequency: Consistently

Severity: Blocker

Steps to reproduce:
1.: Build EFB sample 0.9.3
2.: No app shows in EFB
3.: This error shows in Coherent GT debugger:

[Error] AbstractSubscribableArray: error in handler: TypeError: undefined is not an object (evaluating 'app.available.set')
notify (msfssdk-iife.js:14572)
insert (msfssdk-iife.js:27135)
(anonymous function) (PanelUI.js:2115)
promiseReactionJob
2 Likes

still happening in 1.0.84.0 with EFB sample 0.10.1

1 Like

We are roadblocked by this issue as well

1 Like

Hello @MaxHype @FlyingIron_Dan ,

Did you use a Node.js version > v18.0 and NPM > v5.0?

Did you encounter any warnings or errors during both npm install command?

Regards,
Boris

Hi @Boris , thanks for the reply. Yes I can confirm I am using v20 of Node and v10 of NPM. I do not have any errors during NPM install or build.
image

I am also getting lots of errors in Coherent about the atlas app missing dependencies - is this to be expected?

I can see in the MSFS console that the app is being registered, and I can see in Coherent that the TemplateApp is being registered, installed and the constructor called. But it always fails at the set() call.

Here is my full Coherent Log:

The errors all seem to originate in msfssdk-life.js

Yes I confirm same errors in msfssdk-life.js with Node 22.11.0 and npm 10.9.0

Could you uninstall the SDK samples, manually remove the EFB folder in Samples/DevmodeProjects, reinstall the latest version of the sdk samples (0.10.1), and let us know if it’s better?

Regards,
Boris

1 Like

thank you @Boris, finally made it:

  • uninstalled SDK samples and removed EFB folder
  • reinstalled samples 0.10.1
  • rebuilt EFB Template App with Node
  • built package with Project Editor
3 Likes

Thank you for the feedback @MaxHype.

@FlyingIron_Dan , can you confirm that following my post above fixed your issue ?

Regards,
Boris

Thanks @Boris , following your steps also fixed the issue for me. Much appreciated.

2 Likes