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

Next.js 13 not working with docusign API Client: #56

Open
fullStackRyan opened this issue Aug 31, 2023 · 2 comments
Open

Next.js 13 not working with docusign API Client: #56

fullStackRyan opened this issue Aug 31, 2023 · 2 comments

Comments

@fullStackRyan
Copy link

I have create a basic repo to recreate and demonstrate the issue: https://github.com/fullStackRyan/next-docusign-example-problem

Clone the repo.

npm install

npm run dev

using POSTMAN do a POST to http://localhost:3000/api/docusign

Next is a fullstack framework anything within app/api with a file route.ts is considered the server side from my understanding.

- error ./node_modules/docusign-esign/src/index.js
Module not found: Can't resolve 'ApiClient'
Did you mean './ApiClient'?
Requests that should resolve in the current directory need to start with './'.
Requests that start with a name are treated as module requests and resolve within module directories (node_modules, C:\Users\RMcAvoy\code\next-docusign-example-problem).
If changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too.

https://nextjs.org/docs/messages/module-not-found
@jparksecurity
Copy link

Would you like to try a workaround from docusign/docusign-esign-node-client#332 (comment)?

@camdressler
Copy link

I am also experiencing this issue. The workaround did not fix the error for me.

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

3 participants