goffioul commented on issue #211:
URL: 
https://github.com/apache/cordova-electron/issues/211#issuecomment-959557922


   I have a related problem, but the proposed solution does not fix it.
   
   To reproduce my scenario, you need a plugin that support electron and 
another platform (I'm using android). The electron part needs to use a 
framework entry. Then the steps are:
   1. create a new cordova project
   2. add the 2 platforms supported by your plugin
   3. add the plugin
   4. `rm -rf platforms plugins`
   5. `cordova prepare android` (use the other platform instead of `android` if 
you didn't use `android`)
   6. `cordova prepare electron`
   
   The suggested fix does not help, because at that point 
`platforms/electron/www` does not exist yet. So the `npm` command fails. 
Creating the directory does not help, because `package.json` would be missing 
anyway.
   
   If you think this is a different issue, I'm happy to open a separate issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to