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.

Inconsistency after 3.0.2

See original GitHub issue

Sorry for the vague title. This took me a while to track down.

I was using prettier-plugin-organize-imports at 3.1.0 and noticing that prettier wasn’t organizing my imports. I ignored it though since it wasn’t a big deal but then github actions failed because somehow it worked there and so my eslint check failed.

I had no idea if it was this plugin or something else, but just now I got to the point of downgrading and I had to go all the way back to 3.0.2 for it to work.

I have a hunch that this is specific to Windows which I am currently on, and would explain why on github actions (ubuntu) it worked fine despite getting the same version of the package afaik (used yarn install --immutable).

The behavior I’m observing is that if I run e.g. yarn run prettier --list-different . at the root of the package, it doesn’t detect any discrepancies. If I run it in the subdirectory actually containing the file with discrepancies (i.e. deviations from prettier formatting, specifically unused imports), then it does indeed detect it, both with . and with File.tsx directly.

Sorry if that report is vague. I’m happy to provide any other information you may need to figure this out. For now I will be using 3.0.2.

Thank you so much for working on this great plugin!

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
blaenkcommented, Sep 2, 2022

That worked! Thank you!

1reaction
simonhaenischcommented, Sep 2, 2022

Yup sorry, should work now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The environment is inconsistent, please check the package ...
The environment is inconsistent, please check the package plan carefully. The following packages are causing the inconsistency:.
Read more >
INCONSISTENT_BEHAVIOR_C...
Documentation for the INCONSISTENT_BEHAVIOR_CROSS_VERSION error class on Azure Databricks.
Read more >
VMware NSX-T Data Center 3.0.2 Release Notes
This leads to inconsistent behavior in the interface. Workaround: Use the following procedure to resolve this issue:
Read more >
python 3.x - Conda environment is in an unsolvable loop of ...
So after env is created, conda activate env_name, then conda install packages and then pip install the packages.
Read more >
The Age of Sorcery [Latest: 3.0.5 (2022.10.26)] - PC Patch ...
Maelstrom creatures may not despawn after the storm has passed in Isle of Siptah. ... The previous crafting costs were inconsistent.
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