Community
Forma Forum
Welcome to the Forma Community. Give feedback, report bugs, and tell us your ideas about Autodesk Forma
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error "_IframeMessenger_get Target Origin is not defined" when starting the project

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
delatuzard17
485 Views, 3 Replies

Error "_IframeMessenger_get Target Origin is not defined" when starting the project

I want to launch my Forma project. I found a repository with examples and settings on GitHub, but when I launch hello-world, it throws an error. How can I fix it?delatuzard17_0-1711794690748.png

delatuzard17_1-1711794746684.png

 

 

Labels (3)
3 REPLIES 3
Message 2 of 4

Hello!

 

At which repository did you find the example code? It would help a lot if I could reproduce the issue.

 

My initial thinking is that this is a build/transpiler issue in some of the tools being used. It could be e.g. outdated tools, as we are targetting es2022 in our builds to NPM. We did target es2021 until mid November 2023. It's a bit hard to say without more information.

Message 4 of 4

I'm unable to reproduce the error you get. I cloned the repo and it runs successfully at my end. I tried both with the provided lock file and without.

 

Did you edit anything before running this?

 

The example code is a bit out of date though, so you might have some luck updating its dependencies:

yarn add --dev vite typescript forma-embedded-view-sdk
(or npm install --save-dev vite typescript forma-embedded-view-sdk)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report