-
Notifications
You must be signed in to change notification settings - Fork 715
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashes my app while loading the shards #52
Comments
I actually figured this out last night. |
FYI @jinhongyii, I closed this but perhaps others may run into this issue with |
Thanks for finding out the bug. Can you make a pull request so that others will not encounter the same bug again? |
Ya sure I could do that. From a testing pov I only know it worked for me, but hopefully it's a harmless change. Unless |
While integrating this into a Next.js project I noticed that when it tried to run `self.updateLastMessage` it would crash Webpack in general and nothing else would load. Converting this to an arrow function to maintain the existing `this` binding fixed my issue. I'd reported this in #52.
While integrating this into a Next.js project I noticed that when it tried to run `self.updateLastMessage` it would crash Webpack in general and nothing else would load. Converting this to an arrow function to maintain the existing `this` binding fixed my issue. I'd reported this in mlc-ai/web-llm#52.
While integrating this into a Next.js project I noticed that when it tried to run `self.updateLastMessage` it would crash Webpack in general and nothing else would load. Converting this to an arrow function to maintain the existing `this` binding fixed my issue. I'd reported this in mlc-ai/web-llm#52.
I haven't figured out why yet but when I integrate this into my app it crashes while tvmjs is running through getting all the files. I found switching off of dev mode helped but after it loads Webpack stops working.
The text was updated successfully, but these errors were encountered: