question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

prettier-atom failed: Cannot read property 'sync' of undefined

See original GitHub issue

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:31
  • Comments:10

github_iconTop GitHub Comments

10reactions
chesleybrowncommented, Sep 15, 2017

Can confirm as suggested in #267, updating to prettier 1.7.0 in my package.json, doing a fresh npm install and restarting atom resolved the problem for me.

8reactions
chesleybrowncommented, Sep 15, 2017

Just updated to the latest version 0.39.0. Consistently get this error every time I save a JS file now. I’ve tried restarting atom to no benefit.

screen shot 2017-09-15 at 10 08 03 am
Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: Cannot read property 'sync' of undefined | Medium
While working with sequelize for the first time, I encountered this error, and it was annoying because I had no idea where I...
Read more >
Uncaught TypeError: Cannot read property 'sync' of undefined
So I have this code where I try to set the score. var score = 0; chrome.storage.sync.set({"playerScore": score});.
Read more >
Sync-Unicorn' errored "Cannot read property '0' of undefined ...
The problem is that unicorn sync can't find your Shared key. Does the config file exist in your website. Please make sure this...
Read more >
Solved: Unexpected Error: Cannot read property 'singleVisu...
Unexpected Error: Cannot read property 'singleVisual" of undefined. ‎03-14-2016 04:38 PM. Hello,. I am having an issue with my PBIX file.
Read more >
TypeError: Cannot read property 'startsWith' of undefined
Could anybody shed me some light on how to clear this error? please? Thanks :slight_smile: 2 Likes. Kush_Kapadia (Kush ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found