Skip to content
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

Not enough package during installation #63

Open
kostya-main opened this issue Aug 11, 2024 · 4 comments
Open

Not enough package during installation #63

kostya-main opened this issue Aug 11, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@kostya-main
Copy link

After building the application, an error occurs:
Error: Could not resolve "bufferutil" imported by "ws". Is it installed?
Also with the utf-8-validate package. Please rebuild the package without these dependencies or return them to package.json

@kostya-main kostya-main added the bug Something isn't working label Aug 11, 2024
@xhayper
Copy link
Owner

xhayper commented Aug 12, 2024

What library are you using to build the application? Webpack? Vite?

@kostya-main
Copy link
Author

I use Vite library.

@xhayper
Copy link
Owner

xhayper commented Aug 12, 2024

Maybe you can try externalizing 'ws' and 'bufferutil' in your project, if that doesn't work, i can try readding the optional dependencies

@kostya-main
Copy link
Author

After installing bufferutil and utf-8-validate in my project, everything works correctly. It just seems to me that I have to install them necessarily, although they are optional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants