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: Menu item type should be array #18

Closed
ismaail opened this issue Aug 6, 2016 · 2 comments
Closed

Error: Menu item type should be array #18

ismaail opened this issue Aug 6, 2016 · 2 comments

Comments

@ismaail
Copy link

ismaail commented Aug 6, 2016

npm start throws the following error message:

> devdogs@0.1.11 start /home/ismaail/Developer/workspace/Tutorials/Forks/devdogs
> electron ./

App threw an error when running [Error: Menu item type should be array]
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Menu item type should be array
    at module.exports (/home/ismaail/Developer/workspace/Tutorials/Forks/devdogs/node_modules/electron-menu-loader/index.js:43:10)
    at Object.<anonymous> (/home/ismaail/Developer/workspace/Tutorials/Forks/devdogs/index.js:23:32)
    at Module._compile (module.js:425:26)
    at Object.Module._extensions..js (module.js:432:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at loadApplicationPackage (/home/ismaail/Developer/workspace/Tutorials/Forks/devdogs/node_modules/electron-prebuilt/dist/resources/default_app/main.js:257:23)
    at Object.<anonymous> (/home/ismaail/Developer/workspace/Tutorials/Forks/devdogs/node_modules/electron-prebuilt/dist/resources/default_app/main.js:289:5)
    at Module._compile (module.js:425:26)
    at Object.Module._extensions..js (module.js:432:10)

OS: Ubuntu Linux 16.04.1
Node: v4.4.7
npm: 3.10.3

@ragingwind
Copy link
Owner

I hope that it is fixed with https://github.com/ragingwind/devdogs/releases/tag/v0.2.1

@ismaail
Copy link
Author

ismaail commented Dec 28, 2016

Running "npm start" opens the application without any errors,

Thanks.

tested on:

OS: Arch Linux
Node: v7.3.0
npm: 4.0.5

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

2 participants