I\'m still new to Electron which I\'m currently following here.
I\'ve read this page regarding on how to include the Chrome DevTools so that I can debug my applicati
Most likely, Electron can't understand the path to the application folder you provided. You must provide the relative or absolute path to the application directory that holds package.json
in it. E.g., if package.json
file of your app is located at /home/user/my_awesome_app/package.json
then in order to start the app you must issue the following command:
electron /home/user/my_awesome_app
Also note that main
property in package.json
file indicates the entry point for your application. In your case it must be like this:
"main": "src/main.js"