You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
sara81
2 years agoHelpful | Level 5
Can't resolve './aes' error when using @dropbox/sign
Node: 18.17.1 @dropbox/sign: 1.1.3 Hi, when I try to use the sdk I get the following error: - error ./node_modules/@dropbox/sign/dist/api.js Module not found: Can't resolve './aes' Th...
DB-Des
Dropbox Engineer
Hi there,
Just a few questions, for you:
- Did you install the DropboxSign API using npm?
- Are you using a front-end library, such as React?
- Are you using a framework such as Vue or NextJS?
sara81
2 years agoHelpful | Level 5
Hi,
to answer your questions.
1) I am using npm 9.6.7
2) I'm triggering this code from an api route in Next.js.
3) I'm using Next.js 13.4.19
FYI: I got the same behavior using node 20 as 18.
- DB-Des2 years agoDropbox Engineer
Hello,
The reason you are seeing that error is because the Dropbox Sign Node SDK uses Node.js specific modules, or modules that are not available on the client side.
You can address that issue by looking into NextJS'
getStaticProps
,getStaticPaths
orgetServerSideProps
functions.References:
Hope this helps!
- reef8782 years agoExplorer | Level 4
this doesn't solve the problem--i'm hitting the exact same issue & i've reviewed all the referenced documentation. is there possibly an issue with the package itself?
- DB-Des2 years agoDropbox Engineer
Hi,
We have not received any reported issues from developers who have been using the Node SDK since its official release.
You can reach out to our support team with more details, including code snippets, for your integration to see if we can figure out where the error is coming from.
About Dropbox Sign API
17 PostsLatest Activity: 5 days ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!