-
Notifications
You must be signed in to change notification settings - Fork 202
fsevents
dependency prevents installation
#583
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
Comments
I recently upgraded to Yosemite, I notice this: Could it be a related issue? |
Going through the log : https://gist.github.com/ranjitjhala/1259a624309004498adc#file-atom-typescript-error-L5859-L5870 It seems that its falling over installing The concern is that we only have |
Same error here, just after installing an Atom update, I got a warning about atom-typescript requiring a rebuild. A few seconds after clicking "rebuild" I get the same error. |
Looking at the Atom changelog for 1.0.12:
|
@msurdi / @ranjitjhala can you follow dev machine workflow : https://github.com/TypeStrong/atom-typescript/blob/master/CONTRIBUTING.md#setup-dev-machine to rule out something atom specific crashing the whole workflow. Basically I am curious about manual |
@basarat Following the dev setup instructions works fine. To me, it seems that Atom is using its own node version when doing the "rebuild" and not the system wide node I have on my computer. But I don't really now anything about the internals of Atom, so I'm just guessing. |
So, even after manual installation, Atom still complains about the plugin needing a rebuild, and fails again. |
@basarat I can confirm what @msurdi says -- same thing happens on the dev workflow. (In addition to the above) I tried installing from within atom -- i.e. by clicking on the install button and by doing |
I have the same problem. It seems that with fsevent@1.0.0 this problem can be resolved (webpack/webpack#1435) |
same here. Package stopped working after updating atom. |
@Sprechen
|
I resolved this issue by navigating to .atom/packages/atom-typescript |
Hooray! I can confirm that @brandom 's method works for me too! Thanks! |
It did not work for me. Instead, I got it working by doing the following: in .atom/packages/atom-typescript:
Edit: added back |
@isuda did rebuild also do |
This is failing for me too, with:
But I also tried making edits that break my build, and atom-typescript doesn't indicate there's any problems, while tsc shows them. So atom-typescript is not working anymore. I've tried each of the suggestions here, but none have worked.
the build during install produces this output that seems clean:
But when I restart atom, the red bug symbol is still there, and clicking it, then rebuild packages produces a similar error as before, but with these lines:
Note that it's complaining about the same node-pre-gyp install --fallback-to-build command that worked from the shell! |
Got it! @sebilasse And, yes, I had removed grunt-ts from the top level, and also had removed all of the node_modules. Thanks. I have node installed in /usr/local/bin, which is on my PATH. So I added For those interested, the PATH that was passed to node-gyp contained these locations:
|
@psnider: I also got this error. Launching atom from the command line, and then clicking "rebuild" fixed this for me. |
@isuda: Also for me launching atom from command line and then clicking "rebuild" has worked! |
@isuda Thanks, that worked for me also! Very strange why though... |
It appears that Macs don't read your shell's configuration file when I have to find a solution to this that I like... On Fri, Sep 18, 2015 at 9:47 PM, Sergey Galchenko notifications@github.com
|
I've just published Will keep this issue till I document the dev setup in CONTRIBUTING or figure out an alternative workaround. At least you guys will have this version to manually install on latest atom if I break something again by trying to reintroduce |
in my case (but I dunno if it's related) the last build keep sending requests (http-req? I'm not able to understand it, but they are very slow) everytime I write some code! at the right of Typescript toolbar appears a Github spinning icon (???) and by clicking on it an info notification pops up with the title "Pending requests" where I read messages such as:
how to disable it? :\ |
@Tryio these are requests send to a background process that is actually doing the heavy lifting of code analysis.
@Tryio Seems related to : #332 see workaround : #332 (comment) |
Since a lot of people experienced this. I am marking this as closed with |
For what it's worth, it looks like there was a bug on Atom's end for rebuilding native modules (see atom/atom#8837) that is resolved in 1.0.15 |
Hi @basarat,
I just re-installed
atom
(on mac os) no other packages, and then tried to installatom-typescript
.I get this error:
In more detail
And here is the content of the
npm-debug.log
:https://gist.github.com/ranjitjhala/1259a624309004498adc
Please let me know if I can provide any other information.
Could it be that I have a "stale"
fsevents
on my machine?Shall I wipe the npm database or some such?
The text was updated successfully, but these errors were encountered: