BabylonJS / Editor

Community managed visual editor for Babylon.js
http://editor.babylonjs.com/
812 stars 232 forks source link

How coud we updated Bablyon JS Editor v.4.70 to v.6 #430

Open hungyeh opened 1 year ago

hungyeh commented 1 year ago

We found there is a message popup while we finished intall Bablyon JS Editor v.4.70. If anyone who have upgraded v.6 successfully. Please guide us to instal v6 properly. Best regrads, 02 01

julien-moreau commented 11 months ago

Hi @hungyeh !

This was absolutely not expected lol. The error is catched and logged but did not break the state of the editor.

For me what happened is that your project has been successfully updated to use Babylon.JS v6.0.0 and it just failed to generate the typings of the editor that might be used in the scripts available in the assets directory. Which is not a problem if you don't use scripts in your assets and you would just not have typings support in your VSCode for your JS files

I don't reproduce either macOS and Windows, it looksl ike your system just refused to write files and folders on node_modules. Did you installed the dependencies as an administrator and ran the Editor without the administrator rights? (I don't recommend to run apps as administrator)

Kahlis commented 7 months ago

My editor give only "failed" message on toast but doesn't log anything edit: tried to run editor as admin, nothing changed. I detected some scripts with errors in my project, just remove/comment them to Update and them try to debug in VS Code to solve the script errors