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.

v7.0.0 doesn't seem to work

See original GitHub issue

Summary

Upgrading to v7.0.0 causes prettier-vscode to stop working with the following error in the status bar:

Extension 'Prettier - Code formatter' cannot format 'index.js'

Downgrading to v6.4.0 works fine.

GitHub Repository to Reproduce Issue

N/A - happens on any js file:

function foo() {
  console.log('hi');
}

Steps To Reproduce:

  1. Install v7.0.0
  2. Try to run the formatter
  3. Get error

Expected result

Prettier v7.0.0 should work as v6.4.0.

Actual result

Prettier v7.0.0 does not format and prints an error in the status bar.

Additional information

CleanShot 2021-06-21 at 18 09 01@2x

VS Code Version:

Version: 1.57.1
Commit: 507ce72a4466fbb27b715c3722558bb15afa9f48
Date: 2021-06-17T13:28:32.912Z
Electron: 12.0.7
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: 8.9.255.25-electron.0
OS: Darwin x64 20.5.0

Prettier Extension Version:

v7.0.0

OS and version:

OS: Darwin x64 20.5.0

Prettier Log Output

There are no logs on v7.0.0. Prettier never appears in the status bar. Downgrading to v6.4.0 brings it back and shows logs.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:33
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

20reactions
stevehansoncommented, Jun 22, 2021

For anyone else facing this, I got around it for now by downgrading the plugin back to 6.4.

To do this, open the Extensions pane in the sidebar, then search for Prettier, then click the settings gear, then choose “Install another version” and select 6.4.0:

image

4reactions
mgabeler-lee-6rscommented, Jun 22, 2021

@ntotten version 8.0.0 seems to be right back where we were with this ticket. node_modules isn’t bundled, and so we’re right back where we were before

Read more comments on GitHub >

github_iconTop Results From Across the Web

V7.0.0 OTA Update failed - Software - FarmBot Forum
When I try to update the OS from 6.4.13 to 7.0.0 via update button, the following messages ... Tried rebooting for a few...
Read more >
Dashboard variable does not work in v7.0.0 #102 - GitHub
After upgrading to Grafana 7.0 and using the version 7.0.0, dasboard variable seems to be broken. With Grafana 6.7 and plugin v5.4.1 I...
Read more >
Is it safe to use v7.0.0 Microsoft nugets targeting net6 ... - Reddit
I see with net7 release all Microsoft nugets now have a new 7.0.0 version ... the answer seems to be it doesn't matter,...
Read more >
Fix list for IBM WebSphere Application Server V7.0
IBM WebSphere Application Server provides periodic fixes for the base and Network Deployment editions of release V7.0. The following is a complete listing ......
Read more >
Version v7.0.0 - Turn-key research data management repository
InvenioRDM v7.0 comes with a basic OAI-PMH server. ... The OAI-PMH standard doesn't say anything about authentication of requests.
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