Closed Invader444 closed 4 years ago
Can you try import Client from '@hapi/nes/lib/client'
instead?
import { Client } from '@hapi/nes/lib/client'
or
const Client = require('@hapi/nes/lib/client').Client
Works as a workaround for now. Thank you!
Can you try one more thing for me? Can you add "browser": "lib/client.js"
to package.json
locally and see if that also works?
If someone can try the proposed change above to package.json
we might be able to just fix it.
Got problems with it in Next.js. Did anyone else experienced something like that?
Support plan
Context
What are you trying to achieve or the steps to reproduce?
What was the result you got?
What result did you expect?
No error should be thrown.