Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
sara81
3 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...
Juan - Dropbox
Dropbox Staff
3 years agoHi there. I've created an example repo for anyone using Next.js + the Sign Node SDK: https://github.com/hellosign/nextjs-blog
The trick is next.config.js must ignore fs and axios on client-side rendering.
Make sure to invoke the SDK package only within getStaticProps or getServerSideProps functions.
Unfortunately per my response in this GitHub issue I don't know Next.js well enough to figure out how to make the above work when using its App Router - so the solution will only apply if you are not using it.
sara81
3 years agoHelpful | Level 5
Have your team created an issue for Next.js that I can follow?
Thanks for the workaround! I think I can make it work for now but would be great to remove the workaround/hack at some point of time.
About Dropbox Sign API
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!