How can I add cordova electron to project (getting an error)

#1

hello ,

I am testing electron but getting an error

Adding electron project...
Unable to load PlatformApi from platform. Error: Cannot find module 'fs-extra'
Unhandled error. (The platform "electron" does not appear to be a valid cordova platform. It is missing API.js. electron not supported.)

how can I fix this issue ?

#2

See: