Windows editor configuration

Hello all. I have a question on configuring the windows version of the editor, on my test installs the editor is unable to find my node and npm installs. how do I configure the editor to find them manually? did I miss something at install or first run?

I’m on windows 11, node version v24.14.0 and npm version 11.11.1.

1 Like

Hi @deeFive welcome to the forum!

I guess you are refering to https://editor.babylonjs.com/ ?

cc @julien-moreau

1 Like

Good morning and yes that is the one.

1 Like

Hey @deeFive !

Thanks for reporting that! The Editor should be able to find the version of Node.js you installed automatically. If you open cmd.exe and you type “node”, does it fail? If it doesn’t fail, that means there is an issue on the Editor side. If it fails, what did you use to ensure you installed node correctly? PowerShell? Git bash?

There is no way to provide direct path to Node.js and npm in the Editor :frowning: but I can add an option to select the terminal you’de like to use.

Good evening, thank you for you reply. here is a screenshot on my node and npm install, taken from the command line. it all seems to be set up correctly (installed via the node installer and updated via powershell, but i may have missed something.

1 Like

Thanks for those info ! You missed nothing, I have an issue on my side.

My question:

  • do you have a modal saying NodeJS is not found or npm is not found or both? Looks like both but just to be sure.
  • did you ran cmd.exe ? If yes, can you try with powershell too? Maybe your env has powershell as default terminal and it’s not found on powershell. That means I would have to maybe try to fallback on cmd.exe and even let you the choice of the terminal to use.

Thanks for you help :heart:

Thank you again for you help :slight_smile: here is a screenshot of the modals in the editor:

And here is a screenshot of my powershell terminal:

I think my pc is setup for cmd not powershell, im happy to switch if needed.

Ah! That’s really good.
Ok, so I’ll have to provide a way though the dashboard window, for example, to setup the used terminal. Because in your case, you are not allowed to execute scripts. To unlock you right now I invite you to follow the link printed in the error which is an explanation of the error and how to enable scripts execution. It’s disabled by default for security reason but as a developer (are you a developer or an artist?) you can enable it as you know what you are doing with your scripts.

Thanks to you, I’ll also add it in the documentation in a “troubleshooting” section.

EDIT: I created this issue Add way to specify terminal app to use through dashboard · Issue #793 · BabylonJS/Editor · GitHub and in future release you’ll be able to select “cmd.exe” as terminal

Thank you :smiley: and I will enable scripts later tonight! thank you so much with your help on this! now i need to figure a simple way to explain this to the artists :joy:

1 Like

Ahahah, I’ll put a way to force cmd.exe instead of powershell by default on win32. I think it’s more efficient in our case. I’ll try to deploy ASAP with that fix.
For your artsits, there is a super cool pull request I’de like to merge before deploying the new version: Add Built-in Marketplace feature with direct downloads by shdan-in · Pull Request #792 · BabylonJS/Editor · GitHub

Ok thank you again and this feature does look amazing :smiling_face_with_sunglasses:

Hey @deeFive !!
Babylon.js Editor v5.4.0 has just been released! In the bottom right corner of the Dashboard windows there is a gear icon. For Windows users, you can select the terminal to use and you can ask your design team to select “CMD.exe” to bypass the PowerShell restrictions. Let me know if it works on your side :heart:

1 Like