{"action":"created","issue":{"url":"https://api.github.com/repos/electron/electron/issues/11861","repository_url":"https://api.github.com/repos/electron/electron","labels_url":"https://api.github.com/repos/electron/electron/issues/11861/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron/issues/11861/comments","events_url":"https://api.github.com/repos/electron/electron/issues/11861/events","html_url":"https://github.com/electron/electron/issues/11861","id":295519768,"number":11861,"title":"Cant start electron app","user":{"login":"tommyriska","id":15278093,"avatar_url":"https://avatars0.githubusercontent.com/u/15278093?v=4","gravatar_id":"","url":"https://api.github.com/users/tommyriska","html_url":"https://github.com/tommyriska","followers_url":"https://api.github.com/users/tommyriska/followers","following_url":"https://api.github.com/users/tommyriska/following{/other_user}","gists_url":"https://api.github.com/users/tommyriska/gists{/gist_id}","starred_url":"https://api.github.com/users/tommyriska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommyriska/subscriptions","organizations_url":"https://api.github.com/users/tommyriska/orgs","repos_url":"https://api.github.com/users/tommyriska/repos","events_url":"https://api.github.com/users/tommyriska/events{/privacy}","received_events_url":"https://api.github.com/users/tommyriska/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-08T13:53:29Z","updated_at":"2018-02-10T12:28:42Z","closed_at":null,"author_association":"NONE","body":"When I try to start the application I am developing I expect to start the app using `electron .` but this does not work and I get this error message:\r\n\r\n> `Tommys-MacBook-Pro:KitronApp tommyriska$ electron .\r\n/usr/local/lib/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron[707]: ../../vendor/node/src/async-wrap.cc:399:void node::SetupHooks(const FunctionCallbackInfo<v8::Value> &): Assertion `env->async_hooks_init_function().IsEmpty()' failed.\r\n 1: node::Abort() [/usr/local/lib/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]\r\n 2: node::Assert(char const* const (*) [4]) [/usr/local/lib/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]\r\n 3: node::AsyncWrap::Initialize(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>) [/usr/local/lib/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]\r\n 4: v8::internal::StrDup(char const*) [/usr/local/lib/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]\r\n 5: v8::internal::compiler::BranchElimination::ControlPathConditions::operator==(v8::internal::compiler::BranchElimination::ControlPathConditions const&) const [/usr/local/lib/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]\r\n 6: v8::internal::compiler::BranchElimination::ControlPathConditions::operator==(v8::internal::compiler::BranchElimination::ControlPathConditions const&) const [/usr/local/lib/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]\r\n 7: 0x1476d29043fd\r\n 8: 0x1476d29f777c\r\n 9: 0x1476d29bbe1c\r\nTommys-MacBook-Pro:KitronApp tommyriska$`\r\n\r\nThis only happens in this particular project folder. When I run `electron`, the example window from electron starts up without problems and when I try to start another electron project it works fine, but not in this particular project.\r\n\r\nI have reinstalled both electron and NPM/Node but that did not help. I have tried to examine the error message but I dont understand what is going wrong here. I really dont know how to reproduce this either so sorry for not including this. The code is in a private repository and cannot be shared in its whole but I could include different files in here if there is any file you want to examine.\r\n\r\n- Electron version: 1.7.12\r\n- Operating System: macOS High Sierra 10.13.2\r\n\r\nI am including a picture version of the error message as well if thats better to read.\r\n![screen shot 2018-02-08 at 14 35 39](https://user-images.githubusercontent.com/15278093/35976193-a2d0762c-0cdf-11e8-9e2f-f1497f9b3d52.png)\r\n"},"comment":{"url":"https://api.github.com/repos/electron/electron/issues/comments/364648342","html_url":"https://github.com/electron/electron/issues/11861#issuecomment-364648342","issue_url":"https://api.github.com/repos/electron/electron/issues/11861","id":364648342,"user":{"login":"tommyriska","id":15278093,"avatar_url":"https://avatars0.githubusercontent.com/u/15278093?v=4","gravatar_id":"","url":"https://api.github.com/users/tommyriska","html_url":"https://github.com/tommyriska","followers_url":"https://api.github.com/users/tommyriska/followers","following_url":"https://api.github.com/users/tommyriska/following{/other_user}","gists_url":"https://api.github.com/users/tommyriska/gists{/gist_id}","starred_url":"https://api.github.com/users/tommyriska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommyriska/subscriptions","organizations_url":"https://api.github.com/users/tommyriska/orgs","repos_url":"https://api.github.com/users/tommyriska/repos","events_url":"https://api.github.com/users/tommyriska/events{/privacy}","received_events_url":"https://api.github.com/users/tommyriska/received_events","type":"User","site_admin":false},"created_at":"2018-02-10T12:28:42Z","updated_at":"2018-02-10T12:28:42Z","author_association":"NONE","body":"Apparently, I can start the application using Electron 1.6.2 instead of 1.7.12(latest). Could this be because of some previous configuration on the first version as I am improving it for a second version?"}}
{"actor":{"display_login":"tommyriska"}}