Closed hquu closed 2 years ago
Do you have typescript installed and the script compiler options enabled on the Toolkit Panel ?
npm install -g typescript
thanks!I have selected the Script compilation- Project Script bundle, I should select ES5, ES6... esntxt
Win32Exception: ApplicationName='C:\Users\Administrator\AppData\Roaming\npm\node_modules\typescript\bin\tsc', CommandLine='"C:\Users\Administrator\AppData\Roaming\npm\node_modules\typescript\bin\tsc" -p tsconfig.json', CurrentDirectory='F:/unityprojecttemp/Babylon/New Unity Project', Native error= %1 Not a valid Win32 application.
for Windows... it should end with tsc.exe
So command line should read like C:\Users\Administrator\AppData\Roaming\npm\node_modules\typescript\bin\tsc.exe -p tsconfig.json
So double check the full path to type script compiler: C:\Users\Administrator\AppData\Roaming\npm\node_modules\typescript\bin\tsc.exe
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'UniversalCameraSystem') at Function.n.InstantiateClass (babylon.manager.js:5) at babylon.manager.js:7 at Array.forEach ()
at Function.n.DoProcessPendingScripts (babylon.manager.js:7)
at n.postProcessSceneComponents (babylon.manager.js:7)
at Function.n.PostParseSceneComponents (babylon.manager.js:5)
at e.startParsing (babylon.manager.js:7)
at e.onComplete (babylon.manager.js:7)
at r.callback (babylon.manager.js:7)
at e.notifyObservers (babylon.min.js:16)