Hi,
I have a project which is completed, runs successfully and is just awaiting a launch date. However, since updating Needle to 2.65.2-pre earlier today I now just get a black screen when using āQuick Actionsā āOpen Serverā to preview the project⦠and if I try to run āExport & Build Dist (Production)ā I get the following onscreen error message āPre-build Script Failed - See Console for Errorsā¦ā.
Iāve attached a screenshot of the console.
Extra Info
Iām on Mac running OS Venture v 13.2.1
Any ideas regarding what might have happened will be gratefully received 
Original Post on Discord
by user 908977119781060648
Can you try running this context menu?
If it doesnt help you need to udpate the paths in your scripts manually to @needle-tools/engine/src/engine-component... instead
Btw you can import WebXR like so too: import { WebXR } from "@needle-tools/engine" - you dont need to specify the full path for core components
Thanks @Marcel_Wiessler1
⦠Iāll try the context menu first as Iām not sure Iām experienced enough for the alternative task.
Fingers crossed that option 1 works⦠back in touch in a minā¦
by user 908977119781060648
Nope⦠no joy re: āRun Web Project Updateā ⦠and sadly I really just wouldnāt know where to start with your other suggestion 
Iām off to grab a Time Machine backup of the project in the hope that itāll run okay.
by user 908977119781060648
Your screenshot shows src/scripts/play.ts and play_x.ts
just change the path in there in line 7 to:
import { WebXR } from "@needle-tools/engine"
You can open it via this button to edit

Okay. Iāve got VS Code; so will give that a go. Back in touch in a minā¦
by user 908977119781060648
Doh! Spoke too soon
The Quick Actions preview works fine but āExport & Build Dist (Production)ā still throws up an error.
by user 908977119781060648
Sorry⦠I was just grabbing a csreenshotā¦
by user 908977119781060648
by user 908977119781060648
Thatās again the wrong path?
I changed the path/s as you suggested. As said, the preview works fine.
by user 908977119781060648
Maybe try restarting the server
The above in the script is definitely wrong
Yup. Tried that.
by user 908977119781060648