I’m currently using the latest AppStudio version and running on Windows.
I followed the wiki on how to create a desktop app. It seems to follow through and it says ‘Installer successfully created. It is electron/dist/ElectronWeather-1.0.0.exe’.
No exe file gets created. I deleted the electron folder and ran it, and it’s still not created.
Is the sample outdated? Or is something else missing?
There are a number external dependancies in the build chain for this. Give us a chance to review these and see what the issue could be. I have opened an issue.
I tried a number of times, and it didn’t work.
If i run Run Desktop App using Electron, several black windows pop up and then disappear. There are no messages.
If i run Make Desktop App for Distribution using Electron, several black windows pop up and then disappear, and a message box shows saying that the installer was successfully created in the project folder, but nothing is there.
subprocess electron run error
C:\Program Files\NSB AppStudio\node\node_modules\npm\lib\cli\validate-engines.js:31
throw err
^
TypeError: Class extends value undefined is not a constructor or null
at Object.<anonymous> (C:\Program Files\NSB AppStudio\node\node_modules\npm\node_modules\fs-minipass\lib\index.js:136:4)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Module._load (node:internal/modules/cjs/loader:1024:12)
at Module.require (node:internal/modules/cjs/loader:1233:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (C:\Program Files\NSB AppStudio\node\node_modules\npm\lib\utils\log-file.js:3:20)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
Node.js v20.15.0