You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to run the helloworld cordova app in cordova-electron 2.0.0 with the --nobuild flag results in nothing happening.
Command or Code
~/tmp $ cordova create helloworld
Creating a new cordova project.
~/tmp $ cd helloworld/
~/tmp/helloworld $ cordova platform add electron@2.0.0
Using cordova-fetch for cordova-electron@2.0.0
Adding electron project...
Creating Cordova project for cordova-electron:
Path: /home/user/tmp/helloworld/platforms/electron
Name: HelloCordova
Discovered plugin "cordova-plugin-whitelist". Adding it to the project
Installing "cordova-plugin-whitelist" for electron
Adding cordova-plugin-whitelist to package.json
~/tmp/helloworld $ cordova run electron --nobuild
This last command returns immediately with no app window opening. Adding --verbose shows this:
~/tmp/helloworld $ cordova run electron --nobuild --verbose
No scripts found for hook "before_run".
No scripts found for hook "before_prepare".
Checking for saved platforms that haven't been added to the project
Platform API successfully found in: /home/user/tmp/helloworld/platforms/electron/cordova/Api.js
Checking for saved plugins that haven't been added to the project
Generating config.xml from defaults for platform "electron"
Merging and updating files from [www, platforms/electron/platform_www] to platforms/electron/www
copy platforms/electron/platform_www/cdv-electron-settings.json platforms/electron/www/cdv-electron-settings.json (updated file)
copy platforms/electron/platform_www/config.xml platforms/electron/www/config.xml (updated file)
delete platforms/electron/www/manifest.json (no source)
delete platforms/electron/www/package.json (no source)
This app does not have icons defined
This app does not have splash screens defined.
Creating new manifest file in => undefined
No scripts found for hook "after_prepare".
No scripts found for hook "before_deploy".
No scripts found for hook "after_run".
Still, the app isn't started.
For the record, the same steps work as expected with cordova-electron@1.1.1.
Issue Type
Description
Trying to run the helloworld cordova app in cordova-electron 2.0.0 with the
--nobuild
flag results in nothing happening.Command or Code
This last command returns immediately with no app window opening. Adding
--verbose
shows this:Still, the app isn't started.
For the record, the same steps work as expected with cordova-electron@1.1.1.
Environment, Platform, Device
Debian GNU/Linux 10 (buster) amd64
Version information
cordova-electron@2.0.0
cordova@10.0.0
nodejs@12.19.0
Checklist
The text was updated successfully, but these errors were encountered: