-
-
Notifications
You must be signed in to change notification settings - Fork 95
Uncaught TypeError: Cannot read property 'version' of undefined #768
Comments
I've been seeing for weeks myself (but on macOS), renders the package unusable. |
same here.
Atom: 1.47.0 x64 Stack TraceUncaught TypeError: Cannot read property 'version' of undefined
Commands
Non-Core Packages
|
I see the same output when running the I'm also on prettier-atom 0.60.0 although my prettier is 2.0.2. My issue is the If I turn off both I'm guessing there's an issue reading the |
@RodFashion prettier had a regression in their codebase, that's a known bad version on their part (they made prettier incompatible with the version of node that Atom uses lol), I would update to latest to get format on save working again. |
Will have to look into the debug thing although @robbymarston you should be able to use the plugin overall, it's just the debug that's in question here right all? |
@robwise apologies for the delay. Similar to @RodFashion's comment above, Format on Save does not work, but |
@robbymarston Can you confirm you're on latest Prettier version? They regressed their codebase to be incompatible with the verison of Node that Atom uses in a couple of the previous versions but that is now fixed. |
If I try to view prettier debug info inside Atom, I get this:
Versions:
OS: Windows 10
Atom: 1.47.0
prettier-atom: 0.60.0
prettier: 2.0.5
The text was updated successfully, but these errors were encountered: