-
Notifications
You must be signed in to change notification settings - Fork 13
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 ENOENT: no such file or directory
Error when trying to create Client
#36
Comments
This looks very similar to the issues that came up in #26. @thanvinhbaohoang What version of the library are you using? |
@AaronAtDuo I tried this with v2.0.3 after checking the linked issue and its still giving me the same problem :( |
I've received a reply from duo from a noreply email stating that there is " an open feature request submitted to our Product team so that it can be considered during our next prioritization phase. I will go ahead and add you as an interested contact for this FR...". I cannot find a way to see existing feature requests so they may not be public. |
I was running into this using version 2.0.3.
Make sure that the path to your package.json is back one directory from wherever you code is that is creating the Client. You could also solve this using patch-package to remove this line from the constants.ts file
|
I can still reproduce this (or a variation of this) using the latest The issue appears to be coming from the |
The problem seems to be this line. I ended up using pnpm to patch this by changing |
Description
When I try to initialize a new Client object, I get a
no such file or directory
Expected Behavior
I expect it to run just like the provided example (which used Express instead of NextJS)
Actual Behavior
The text was updated successfully, but these errors were encountered: