EFB sample app project does not work

Bug description: Not sure how many versions this stopped working but the EFB sample build has errors. And even if I point to the current DIST folder for source and the errors go away the app never shows up.

UPDATE: We have this working. I think the SDK needs to explain that you must complete the Quick Start Guide For Making Apps section so that you have the NodeJS and NPM installed and active. Then the EFB template sample will work.

This paragraph would be a great place to include the extra step required. It’s also very important as it creates the Dist folders for the efb_api folder and the TemplateApp folder. Then you can click build all for your project.

Question: I have the npm run watch enabled in CMD and when I update the code and it shows no errors, then I click build all there is no change. I am forced to restart the sim to see the changes. Did something break in the current beta version? I have no way to work currently. Really would appreciate some help.

Update: We got it working…
For those who need to update live here is what you do after you have the CMD npm run watch enabled.

  1. Open the coherent GT debugger
  2. Then click the electronic flight bag from the list.
  3. Enable the resource cache when loading resources seen in image below.
  4. Click the reload this page (ctrl + r). You might have to first select the page from the resource tab.
  5. After this I was able to close the coherent GT debugger and make changes to the tsx files and then just click build all and it updates everytime.
1 Like

Hi @Boris,

I suspect this error is normal because the cmd check will be checking for only syntax errors. Is there anyway to exclude this error.

Because if I have 75 simvar entries It will be convoluted to locate regular syntax error. Anyways this may not be possible but figure I should ask. Thanks.

The link to Quick Start Guide was added to this sample documentation page in the flighting version.

Regards,
Sylvain

1 Like

The post above mentioned ctrl-R. That did not work for me. But ctrl-shift-R did!

You just saved me hours of trying to fix stuff! Thanks a ton for the insights! It works like a charm!