First off thank you for this amazing tool!
I got it to work but I canāt get the workflow working as shown in the YT tutorial.
All works fine until this moment in the video
The live update workflow gives an error in the browser of
ReferenceError: Cannot access 'Behaviour' before initialization
Only way around it is to click the āStart Serverā button in the Needle Engine tool over and over until it finally works. Nothing works to fix it and I donāt ever see realtime live updates as shown in the video.
Current workflow:
- Start server from Needle Export object via the Inspector
- Move and scale the cactus
- Save the project
- Browser refreshes and then goes white screen with the error above.
Iāve tried many things but canāt get past that part.
Advice?
Original Post on Discord
by user 412630148001824768
Hey sorry about that. Itās a known issue and weāre looking into how to fix it.
When it happens for me stopping the server and clicking play again usually fixes it - from your description it sounds like you tried that several times but it took more attempts until it worked?
Yeah itās pretty random. I eventually get it to work after different variations of restarting the server.
by user 412630148001824768
Changed the channel name: ReferenceError Cannot access āBehaviourā before initialization
Any other suggestions? This started happening and nothing Iāve tried has fixed it.
by user 289864542349950978
Do you remember which version you used previously?
This is the only version Iāve tried
Exporter 2.35.0-pre
Runtime 2.31.0-pre
by user 289864542349950978
Can you try updating to 2.35.5-pre and see if it still happens?
Sure
by user 289864542349950978
It works! Thanks
by user 289864542349950978
Let me know if it happens again
Updating to 2.35.5-pre fixed the error for me. Thank you @Marcel_Wiessler1
!
by user 412630148001824768
It just happened again, unfortunately
by user 289864542349950978
I tried a few times, but no
by user 289864542349950978
Can you try if stopping the server, clicking install and then starting again helps?
Which OS and node version are you on?
That may have worked just now, thought Iām not sure what order I clicked things
Windows 11, node 16.18.0
by user 289864542349950978