You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It made me think the dependant module was probably wrongly installed, and indeed something gets messed !
Here are some details:
When looking at the atom-beautify/node_modules/coffee-formatter folder (so after a successful apm install) I see that structure:
README.md
node_modules/
package.json
Something is obviously missing there... the library itself !
When looking at the atom-beautify/package.json file (which is enriched with caches by the successful apm installation) I see even more puzzling insight:
Notice the crazy "path" unfolding to a completely wrong location.
I guess there is something missing in the current state of the "coffee-formatter" plugin.
I saw that it was written in litcoffee, with grunt file to compile to plain javascript. This phase is probably not completed when it's imported by npm (or apm).
Hope it helps !
The text was updated successfully, but these errors were encountered:
Thanks for looking into this! This makes sense now. I was having problems with other installations of Atom Beautify, on Travis CI, but just for Coffeescript. I could not reproduce this. I recently changed it to use npm's library instead of from Github directly and I think I messed up the publishing. I am away right now but will get to this once I am back Wednesday night or Thursday. Thanks again!
First, lets say all versions are up to date, both for atom and atom-beautify.
Here is a strange behavior I see:
undefined is not a function
message in the "Atom Beautify Error Messages" MessagePanelView.I tried to debug it and it fails here: https://github.com/Glavin001/atom-beautify/blob/master/lib/langs/coffeescript-beautify.coffee#L11
It made me think the dependant module was probably wrongly installed, and indeed something gets messed !
Here are some details:
atom-beautify/node_modules/coffee-formatter
folder (so after a successfulapm install
) I see that structure:Something is obviously missing there... the library itself !
atom-beautify/package.json
file (which is enriched with caches by the successful apm installation) I see even more puzzling insight:Notice the crazy "path" unfolding to a completely wrong location.
I guess there is something missing in the current state of the "coffee-formatter" plugin.
I saw that it was written in litcoffee, with grunt file to compile to plain javascript. This phase is probably not completed when it's imported by npm (or apm).
Hope it helps !
The text was updated successfully, but these errors were encountered: