-
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
|
Description
When I try to initialize a new Client object, I get a
![image](https://private-user-images.githubusercontent.com/62450449/331363762-5f543a67-b01e-4788-b445-dee4313ab2d9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU3NzMxODUsIm5iZiI6MTcyNTc3Mjg4NSwicGF0aCI6Ii82MjQ1MDQ0OS8zMzEzNjM3NjItNWY1NDNhNjctYjAxZS00Nzg4LWI0NDUtZGVlNDMxM2FiMmQ5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA4VDA1MjEyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVkZWZkYjhlYTgxMTA5NTlhZDgzZDBjNGFmM2IwOTNhMzU4N2IxZmZjNzI2YTZkZDYwYzQ2NjNiMGE1YTk2YzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.q0HjgggmNOscL938WE-PG30ze4OLoCdeqgZcrafImSM)
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: