{"action":"created","issue":{"url":"https://api.github.com/repos/gulpjs/gulp/issues/2162","repository_url":"https://api.github.com/repos/gulpjs/gulp","labels_url":"https://api.github.com/repos/gulpjs/gulp/issues/2162/labels{/name}","comments_url":"https://api.github.com/repos/gulpjs/gulp/issues/2162/comments","events_url":"https://api.github.com/repos/gulpjs/gulp/issues/2162/events","html_url":"https://github.com/gulpjs/gulp/issues/2162","id":317472839,"number":2162,"title":"Native crash in Node 10","user":{"login":"roblourens","id":323878,"avatar_url":"https://avatars3.githubusercontent.com/u/323878?v=4","gravatar_id":"","url":"https://api.github.com/users/roblourens","html_url":"https://github.com/roblourens","followers_url":"https://api.github.com/users/roblourens/followers","following_url":"https://api.github.com/users/roblourens/following{/other_user}","gists_url":"https://api.github.com/users/roblourens/gists{/gist_id}","starred_url":"https://api.github.com/users/roblourens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roblourens/subscriptions","organizations_url":"https://api.github.com/users/roblourens/orgs","repos_url":"https://api.github.com/users/roblourens/repos","events_url":"https://api.github.com/users/roblourens/events{/privacy}","received_events_url":"https://api.github.com/users/roblourens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-04-25T04:11:32Z","updated_at":"2018-04-25T17:56:02Z","closed_at":null,"author_association":"NONE","body":"I installed Node 10 on MacOS and Win 10. Used it for various node things with no issues. But starting gulp always results in a native crash. Smells like a Node bug but I report it here because I haven't seen it anywhere else.\r\n\r\nSame steps for Mac or Win...\r\n\r\n- Have empty gulpfile.js\r\n- Run `gulp`\r\n- See crash output:\r\n\r\n```\r\n$ gulp\r\n[21:08:45] Using gulpfile ~/code/gulptest/gulpfile.js\r\ngulp[62193]: ../src/node_contextify.cc:631:static void node::contextify::ContextifyScript::New(const FunctionCallbackInfo<v8::Value> &): Assertion `args[1]->IsString()' failed.\r\n 1: node::Abort() [/Users/roblou/.nvm/versions/node/v10.0.0/bin/node]\r\n 2: node::InternalCallbackScope::~InternalCallbackScope() [/Users/roblou/.nvm/versions/node/v10.0.0/bin/node]\r\n 3: node::contextify::ContextifyScript::New(v8::FunctionCallbackInfo<v8::Value> const&) [/Users/roblou/.nvm/versions/node/v10.0.0/bin/node]\r\n 4: v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo*) [/Users/roblou/.nvm/versions/node/v10.0.0/bin/node]\r\n 5: v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<true>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, v8::internal::BuiltinArguments) [/Users/roblou/.nvm/versions/node/v10.0.0/bin/node]\r\n 6: v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/Users/roblou/.nvm/versions/node/v10.0.0/bin/node]\r\n 7: 0x2ee39308427d\r\n[1]    62193 abort      gulp\r\n```\r\n\r\nSame result if I run `./node_modules/.bin/gulp`\r\n\r\n\r\n**What version of gulp are you using?**\r\n**What versions of npm and node are you using?**\r\n\r\n$ gulp -v\r\n[21:10:31] CLI version 3.9.1\r\n[21:10:31] Local version 3.9.1\r\n$ node -v\r\nv10.0.0\r\n\r\nIf you can't reproduce this, I'm happy to debug more, but since I see it in 2 different environments, hopefully it's easy to reproduce."},"comment":{"url":"https://api.github.com/repos/gulpjs/gulp/issues/comments/384377479","html_url":"https://github.com/gulpjs/gulp/issues/2162#issuecomment-384377479","issue_url":"https://api.github.com/repos/gulpjs/gulp/issues/2162","id":384377479,"user":{"login":"phated","id":992373,"avatar_url":"https://avatars2.githubusercontent.com/u/992373?v=4","gravatar_id":"","url":"https://api.github.com/users/phated","html_url":"https://github.com/phated","followers_url":"https://api.github.com/users/phated/followers","following_url":"https://api.github.com/users/phated/following{/other_user}","gists_url":"https://api.github.com/users/phated/gists{/gist_id}","starred_url":"https://api.github.com/users/phated/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phated/subscriptions","organizations_url":"https://api.github.com/users/phated/orgs","repos_url":"https://api.github.com/users/phated/repos","events_url":"https://api.github.com/users/phated/events{/privacy}","received_events_url":"https://api.github.com/users/phated/received_events","type":"User","site_admin":false},"created_at":"2018-04-25T17:56:02Z","updated_at":"2018-04-25T17:56:02Z","author_association":"OWNER","body":"@roblourens there's a patch version of `natives` that needs to be updated.  Check out what their latest version is and compare against your lockfile.\r\n\r\n@fishcharlie news to me: \r\n<img width=\"372\" alt=\"screen shot 2018-04-25 at 10 55 49 am\" src=\"https://user-images.githubusercontent.com/992373/39263504-3abf7924-4877-11e8-8e47-4829765d90c8.png\">\r\n"}}
{"actor":{"display_login":"phated"}}