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.

wrong format on windows

See original GitHub issue
this.imgData = [
  {
    type: 'textList',
    textList: [
      {
        text: '我是第',
        line: 1,
        fontSize: '20px'
      }
    ],
    fillColor: '#fff'
  },
  {
    fontSize: '26px'
  },
  {
    position: [0, 0, 640, 1008]
  },
  {
    position: [150, 150, 0, 0]
  },
  {
    position: [0, 0, 150, 150]
  }
];

will be formatted to

this.imgData = [{
    type: 'textList',
    textList: [
      {
        text: '我是第',
        line: 1,
        fontSize: '20px'
      }
    ],
    fillColor: '#fff'
  },
  {
    fontSize: '26px'
  },
  {
    position: [0, 0, 640, 1008]
  },
  {
    position: [150, 150, 0, 0]
  },
  {
    position: [0, 0, 150, 150]
  }
];

and this only happens on windows, but not mac, in latest vscode

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
littleecommented, Jun 15, 2018

@mubaidr I’ve solved my problem.

After uninstalling the extension called Beautify, prettier works normally again.

0reactions
github-actions[bot]commented, Apr 13, 2020

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix “Windows Was Unable to Complete the Format” Error
What causes the “Windows was unable to complete the format” error? · The drive is protected. If you or another person applied write...
Read more >
How to Fix “Windows was unable to ... - Help Desk Geek
Choose the drive where you received the “Windows was unable to complete the format” error message. Then right-click and choose Format.
Read more >
How to Fix Windows Was Unable to Complete the Format?
How to Fix Windows Was Unable to Complete the Format? · Method 1: Scan and Repair Bad Sectors · Method 2: Remove Write...
Read more >
7+ Fixes | Windows Was Unable to Complete the Format in 2022
So what is unable to complete the format? "Windows was unable to complete the format" is an error message that pops up in...
Read more >
"Cannot play back the file. The format is not supported. (Error ...
Discusses the cause and resolution of error 80040265 in Windows Media Player. This error is caused by an unsupported file format or codec...
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