-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Cannot find module '@hapi/hoek/assert' from 'index.js' #2917
Comments
@sagarpanda |
I have reverted everything in 17.8.3 (see #2914), but indeed expect that for the next major version. You are either using an old node or an old jest. |
Thanks @Marsup |
|
It shouldn't be, if you're still having problems, maybe your lockfile is keeping old versions of things, then try to remove and re-add joi. |
I HAVE
I use Nuxt 3.7.0 with Node.js version: 18.5.0 this is in production |
Have you resolved this issue? I'm encountering the same problem with Nuxt 3.7.4, Joi 17.11.0, and Node.js 18.15.0. |
Support plan
Context
joi
const Assert = require('@hapi/hoek/assert');
does not work for nodejs v16.18.1What are you trying to achieve or the steps to reproduce?
What was the result you got?
What result did you expect?
This should not throw any error.
The text was updated successfully, but these errors were encountered: