examples icon indicating copy to clipboard operation
examples copied to clipboard

aws-node-vue-nuxt-ssr with serverless-bundle plugin

Open bart opened this issue 4 years ago • 1 comments

When I try to run the example but with the serverless-bundle plugin I'm getting module initialization error: TypeError in my Cloudwatch logs when trying to access the endpoint. Any idea what the reason might be? Unfortunately I'm not getting any additional information from Cloudwatch logs.

Thanks!!

bart avatar Aug 03 '19 23:08 bart

All right, figured out a bit more with AWS X-Ray: The complete error message is: TypeError: Cannot assign to read only property 'exports' which might be an issue with mixing import/export with require statements, right? Any solution for that (I mean especially when using lots of 3rd party packages like we do here)?

bart avatar Aug 04 '19 00:08 bart