aidenybai / million

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

Cannot read properties of undefined (reading 'split') #1145

Open Stepashka20 opened 1 month ago

Stepashka20 commented 1 month ago

What version of million are you using?

1.0.9

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?

Yandex Browser (on Chromium)

Describe the Bug

When I clicked on the "Optimize by 93%" button, the extension thought for 20 seconds, and then I received error "Cannot read properties of undefined (reading 'split')" image image image

image

What's the expected result?

Extension is working :sad

Link to Minimal Reproducible Example

It is unclear which part of the project to give

Participation

github-actions[bot] commented 1 month ago

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

aidenybai commented 2 weeks ago

Hey @Stepashka20! Can you try updating to the latest? We pushed a patch that should have fixed your issue

Run this to upgrade:

npx million@latest