Skip to content

[Bug] #1182

@Nick2bad4u

Description

@Nick2bad4u

What version of million are you using?

@latest

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 11 Latest

What browser are you using?

Electron (Chrome)

Describe the Bug

Using the vite plugin, I seem to be getting into the actual program, but something throws an error and it doesn't seem to update anymore after that.

I firstly had to add the filter options to the react-scan vite plugin options to even get app to open. But after that, my app works fine, but the vscode plugin seems to stop picking up information. (The UI for millionlint keeps working though)

I can make it further but it still seems to have network transport issues:

@million_lint_runtim….js?v=83dda991:3688 
 POST http://localhost:42423/ingest?z=1 500 (Internal Server Error)
transport	@	@million_lint_runtim….js?v=83dda991:3688
await in transport		
flush	@	@million_lint_runtim…js?v=83dda991:13974
postTask		
onIdle	@	@million_lint_runtim….js?v=83dda991:3561
(anonymous)	@	@million_lint_runtim…js?v=83dda991:14150
(anonymous)	@	@million_lint_runtim….js?v=83dda991:3554

us.i.posthog.com/decide/?v=3&ip=1&_=1754692265050&ver=1.189.0&compression=base64:1 
Failed to load resource: the server responded with a status of 401 ()```

If you want to repro:

MillionLint.vite( filter: {
    include: "**/*.{mtsx,mjsx,tsx,jsx}",
  },)

What's the expected result?

It only finds 3 components and doesn't give hardly any information. Where as react-scan finds all of them no problem.

Link to Minimal Reproducible Example

Above

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions