{"action":"created","issue":{"url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/583","labels_url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/583/labels{/name}","comments_url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/583/comments","events_url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/583/events","html_url":"https://github.com/TypeStrong/atom-typescript/issues/583","id":107117058,"number":583,"title":"`fsevents` dependency prevents installation","user":{"login":"ranjitjhala","id":1650232,"avatar_url":"https://avatars.githubusercontent.com/u/1650232?v=3","gravatar_id":"","url":"https://api.github.com/users/ranjitjhala","html_url":"https://github.com/ranjitjhala","followers_url":"https://api.github.com/users/ranjitjhala/followers","following_url":"https://api.github.com/users/ranjitjhala/following{/other_user}","gists_url":"https://api.github.com/users/ranjitjhala/gists{/gist_id}","starred_url":"https://api.github.com/users/ranjitjhala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ranjitjhala/subscriptions","organizations_url":"https://api.github.com/users/ranjitjhala/orgs","repos_url":"https://api.github.com/users/ranjitjhala/repos","events_url":"https://api.github.com/users/ranjitjhala/events{/privacy}","received_events_url":"https://api.github.com/users/ranjitjhala/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TypeStrong/atom-typescript/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/TypeStrong/atom-typescript/labels/platform:macosx","name":"platform:macosx","color":"aaaaaa"},{"url":"https://api.github.com/repos/TypeStrong/atom-typescript/labels/status:needs-more-info","name":"status:needs-more-info","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-09-18T02:26:07Z","updated_at":"2015-09-18T17:43:00Z","closed_at":null,"body":"Hi @basarat, \r\n\r\nI just re-installed `atom` (on mac os) no other packages, and then tried to install `atom-typescript`.\r\n\r\nI get this error:\r\n\r\n```\r\nSome installed packages could not be loaded because they contain native modules that were compiled for an earlier version of Atom\r\n```\r\n\r\nIn more detail\r\n\r\n```\r\nIn file included from ../fsevents.cc:6:\r\nIn file included from ../node_modules/nan/nan.h:74:\r\nIn file included from ../node_modules/nan/nan_new.h:181:\r\n../node_modules/nan/nan_implementation_12_inl.h:172:66: error: too many arguments to function call, expected at most 2, have 4\r\n  return v8::Signature::New(v8::Isolate::GetCurrent(), receiver, argc, argv);\r\n         ~~~~~~~~~~~~~~~~~~                                      ^~~~~~~~~~\r\n/Users/rjhala/.atom/.node-gyp/.node-gyp/0.30.6/deps/v8/include/v8.h:4515:3: note: 'New' declared here\r\n  static Local<Signature> New(\r\n  ^\r\n1 error generated.\r\nmake: *** [Release/obj.target/fse/fsevents.o] Error 1\r\ngyp ERR! build error \r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:98:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:810:12)\r\ngyp ERR! System Darwin 14.5.0\r\ngyp ERR! command \"node\" \"/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /Users/rjhala/.atom/packages/atom-typescript/node_modules/grunt-ts/node_modules/chokidar/node_modules/fsevents\r\ngyp ERR! node -v v0.10.30\r\ngyp ERR! node-gyp -v v2.0.2\r\ngyp ERR! not ok \r\n\r\nnpm ERR! Darwin 14.5.0\r\nnpm ERR! argv \"/Applications/Atom.app/Contents/Resources/app/apm/bin/node\" \"/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js\" \"--globalconfig\" \"/Users/rjhala/.atom/.apm/.apmrc\" \"--userconfig\" \"/Users/rjhala/.atom/.apmrc\" \"rebuild\" \"--target=0.30.6\" \"--arch=x64\"\r\nnpm ERR! node v0.10.40\r\nnpm ERR! npm  v2.13.3\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! fsevents@0.3.5 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the fsevents@0.3.5 install script 'node-gyp rebuild'.\r\nnpm ERR! This is most likely a problem with the fsevents package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node-gyp rebuild\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls fsevents\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /Users/rjhala/.atom/packages/atom-typescript/npm-debug.log\r\n```\r\n\r\nAnd here is the content of the  `npm-debug.log`:\r\n\r\nhttps://gist.github.com/ranjitjhala/1259a624309004498adc\r\n\r\nPlease let me know if I can provide any other information.\r\n\r\nCould it be that I have a \"stale\" `fsevents` on my machine? \r\n\r\nShall I wipe the npm database or some such?"},"comment":{"url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/comments/141517086","html_url":"https://github.com/TypeStrong/atom-typescript/issues/583#issuecomment-141517086","issue_url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/583","id":141517086,"user":{"login":"sebilasse","id":750300,"avatar_url":"https://avatars.githubusercontent.com/u/750300?v=3","gravatar_id":"","url":"https://api.github.com/users/sebilasse","html_url":"https://github.com/sebilasse","followers_url":"https://api.github.com/users/sebilasse/followers","following_url":"https://api.github.com/users/sebilasse/following{/other_user}","gists_url":"https://api.github.com/users/sebilasse/gists{/gist_id}","starred_url":"https://api.github.com/users/sebilasse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebilasse/subscriptions","organizations_url":"https://api.github.com/users/sebilasse/orgs","repos_url":"https://api.github.com/users/sebilasse/repos","events_url":"https://api.github.com/users/sebilasse/events{/privacy}","received_events_url":"https://api.github.com/users/sebilasse/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T17:43:00Z","updated_at":"2015-09-18T17:43:00Z","body":":+1: I have to vote for @isuda ;) strange issue."}}