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

NextJS 13 - PNPM - bufferuntil #586

Closed
ScreamZ opened this issue Jan 7, 2023 · 2 comments
Closed

NextJS 13 - PNPM - bufferuntil #586

ScreamZ opened this issue Jan 7, 2023 · 2 comments

Comments

@ScreamZ
Copy link

ScreamZ commented Jan 7, 2023

Hello,

using nextjs 13.1.1 when I use the SDK I get this on the frontend
I'm using PNPM as package manager

ready - started server on 0.0.0.0:3000, url: http://localhost:3000
event - compiled client and server successfully in 1069 ms (164 modules)
wait  - compiling / (client and server)...
warn  - ../../node_modules/.pnpm/ws@7.5.9/node_modules/ws/lib/buffer-util.js
Module not found: Can't resolve 'bufferutil' in '/Users/screamz/dev-workspace/pro/livecorp/freakshow/node_modules/.pnpm/ws@7.5.9/node_modules/ws/lib'

../../node_modules/.pnpm/ws@7.5.9/node_modules/ws/lib/validation.js
Module not found: Can't resolve 'utf-8-validate' in '/Users/screamz/dev-workspace/pro/livecorp/freakshow/node_modules/.pnpm/ws@7.5.9/node_modules/ws/lib'

How am i supposed to remove this warning ? Everything seems to work

@jaime-ez
Copy link
Collaborator

Thats a webpack issue mostly, check these possible solutions:

netlify/netlify-lambda#179
websockets/ws#1126

if those webpack config solutions don't work, try installing as suggested here: https://github.com/deepstreamIO/deepstream.io-client-js#install-in-react-native

let me know if it helps

@jaime-ez
Copy link
Collaborator

jaime-ez commented Feb 4, 2023

closing due to inactivity, please reopen if issue persists

@jaime-ez jaime-ez closed this as completed Feb 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants