aidenybai / million

Optimize React performance and make your React 70% faster in minutes, not months.
https://million.dev
MIT License
15.87k stars 554 forks source link

Million lint does not work in VSCode #1054

Open ornakash opened 4 weeks ago

ornakash commented 4 weeks ago

What version of million are you using?

1.0.0-rc.23 (Million Lint)

Are you using an SSR adapter? If so, which one?

None

What package manager are you using?

npm

What operating system are you using?

Windows

What browser are you using?

Chrome

Describe the Bug

We installed Million Lint, the next config looks just fine but unfortunately when we try use the Million Lint VSCode extension, it shows an error message (please see image below)

How to reproduce:

  1. Click Ctrl + Shift + P -> "Million Lint" -> Find Issues image

See the following error: image

Command 'Million Lint': Find issues results in an error command 'million.outlierViewExplain' not found

The same error with the same reproduction appears in Mac and in another windows machine.

What's the expected result?

We want million lint to work and find issues in our code.

Link to Minimal Reproducible Example

https://github.com/ornakash/million-minimal-reproduction

Participation

github-actions[bot] commented 4 weeks ago

Thanks for opening this issue! A maintainer will review it soon.

hobbescodes commented 3 weeks ago

Similar issue. Have yet to get the VSCode extension to work on an M3 MacBook Pro (just stating for better clarity).

Screenshot 2024-06-06 at 3 22 05 AM
Harkunwar commented 2 weeks ago

Getting the same error in M2 Macbook

lilouartz commented 2 weeks ago

Just tried using it and ran into the same issue @aidenybai any hints?

lilouartz commented 2 weeks ago

In VSCode it just says "Start your dev server!"

I do see that the server has started though:

 ⚡ Million Lint v1.0.0-faire.1
 - Ingest server: http://localhost:42423
AbbasPlusPlus commented 5 days ago

In VSCode it just says "Start your dev server!"

I do see that the server has started though:

 ⚡ Million Lint v1.0.0-faire.1
 - Ingest server: http://localhost:42423

I was having the same issue. I realised you have to actually open your application in the browser. Once I did this, I started seeing information about the page I was viewing in the VS Code Extension

lilouartz commented 5 days ago

I had it open for what it is worth.