aws-amplify / amplify-cli-export-construct

Apache License 2.0
11 stars 16 forks source link

RuntimeError: Cannot find module 'lodash' (Python) #62

Open ghost opened 1 year ago

ghost commented 1 year ago

Hello.

Issue: When trying to import aws_amplify.cdk.exported_backend package (pip) into cdk project (Python) there is an error:

RuntimeError: Cannot find module 'lodash'
Require stack:
- /private/var/folders/d8/xplnxkfn46d_5wcmx25crr540000gn/T/jsii-kernel-rOvfLj/node_modules/@aws-amplify/cdk-exported-backend/lib/export-backend-asset-handler/index.js
- /private/var/folders/d8/xplnxkfn46d_5wcmx25crr540000gn/T/jsii-kernel-rOvfLj/node_modules/@aws-amplify/cdk-exported-backend/lib/export-backend.js
- /private/var/folders/d8/xplnxkfn46d_5wcmx25crr540000gn/T/jsii-kernel-rOvfLj/node_modules/@aws-amplify/cdk-exported-backend/lib/index.js
- /var/folders/d8/xplnxkfn46d_5wcmx25crr540000gn/T/jsii-kernel-rOvfLj

Prerequisites:

Workaround: