07-29-2022 01:38
07-29-2022 01:38
Dear Community,
I'm working on a project with the fitbit sdk and get this error:
app/index.js:2,29[10:31:42]Error getting document topmost view
If I remove the
import * as document from "document";
the error is away, I don't know why because I changed nothing in the javascript code. And the line where the error is don't change if I remove some other imports....
I need help, JS is really confusing me...
Greetings,
Thorin
Answered! Go to the Best Answer.
07-29-2022 01:48
07-29-2022 01:48
I wonder if the problem might be an error in resources/index.view.
07-29-2022 01:48
07-29-2022 01:48
I wonder if the problem might be an error in resources/index.view.
07-29-2022 04:36
07-29-2022 04:36
I wonder whether it might make a difference if you changed your import to
import document from 'document';
08-02-2022 08:36
08-02-2022 08:36
Thank you for the answer, it was an error in my index.gui file.
Greetings
08-02-2022 10:38
08-02-2022 10:38