8.5.3 Cannot create Desktop App Electron executable on MAC OS X

Trying to Create Desktop Application on MAC OS X with latest version of 8.5.3

Get the following errors…

npm install
npm ERR! code 127
npm ERR! path /Users/ian/CODesk.appstudio/electron/node_modules/electron
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! sh: node: command not found

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ian/.npm/_logs/2021-04-17T15_51_36_949Z-debug.log

It was working well before…

Any ideas ?

Ian.

I agree - something looks funny. We’re looking into it.

In the log it has this error

2021-04-17 10:31:29,527 - IDEController - INFO - /Users/ian/CODesk.appstudio/electron/node_modules/.bin/electron-builder: line 12: node: command not found

Don’t know if that helps.

Ian.

Yes - same error here under certain conditions. Electron is built on Node, which is a constantly shifting foundation.

Hi Guys,

I know your pretty busy, any idea when we might have a fix, or a workaround.

Thank you.

Ian.

Real Soon Now - I promise!

I just sent you a beta with a fix. Can you give it a try?

@IansResearch reports the problem is fixed. We’ll roll this fix to everyone as part of the next build. If you need to use Electron on MacOS before then, let me know and we’ll get you an early release.

The problem is an incompatibility introduced in npm 7.