Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error npm run start-dev #1

Open
anubislinux opened this issue May 21, 2018 · 1 comment
Open

error npm run start-dev #1

anubislinux opened this issue May 21, 2018 · 1 comment

Comments

@anubislinux
Copy link

D:\Desarrollo\Nueva carpeta\Keira2Paladium\app> npm run start-dev

[email protected] start-dev D:\Desarrollo\Nueva carpeta\Keira2Paladium\app
node app.js

D:\Desarrollo\Nueva carpeta\Keira2Paladium\app\node_modules\electron-settings\lib\settings.js:23
const app = electron.app || electron.remote.app;
^

TypeError: Cannot read property 'app' of undefined
at Object. (D:\Desarrollo\Nueva carpeta\Keira2Paladium\app\node_modules\electron-settings\lib\settings.js:23:45)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (D:\Desarrollo\Nueva carpeta\Keira2Paladium\app\node_modules\electron-settings\index.js:17:18)
at Module._compile (module.js:652:30)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start-dev: node app.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start-dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

@anubislinux
Copy link
Author

The steps I took were the following
1- npm install
2- npm install electron
3- npm run start-dev

but it does not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant