Open callumcox opened 4 years ago
Internal SDK bug DCM-5025 has been filed. Thank you for the report.
I'm still getting webpack error when building docusign-esign module. I tried that work around but didint work. Please let me know other options
I'm having the same issue
I'm having this issue as well. @EdwinMoralesDS , could you please provide a status update on internal SDK bug DCM-5025?
This issue is still happening more than a year after the last comment in the thread. @callumcox's suggestions work, but it's "hacky" due to other config changes needed to be made in order for everything to play nice. Any other, cleaner suggestions?
Hi,
We're using webpack, to minimize the size of the lambda we've got that consume the DocuSign client and I've had the same problem as https://github.com/docusign/docusign-node-client/issues/214. Digging into the src, looks like it's down to the AMD module resolution and the lack of preceding
./
in the require paths. Once I updated the modules inindex.js
with./
, these began resolving (until it encountered other imports in the models):An example of the error is below:
I dug around and found the following:
https://github.com/webpack/webpack/issues/906 https://github.com/swagger-api/swagger-codegen/issues/3336 https://webpack.js.org/loaders/imports-loader/
I've worked around it by installing imports-loader and adding the following into my webpack config:
Can the paths be updated to include the relative portion so the workaround isn't needed?
Thanks!