Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

Can't be bundled with Webpack when DefinePlugin is used #91

Closed
@chiplay

Description

@chiplay

We are using analytics-node in our AWS Lambda function and last night started receiving errors:

Unable to import module 'index': Error
at require (internal/module.js:12:17)
at Object.<anonymous> (/var/task/node_modules/analytics-node/lib/index.js:10:16)

Looks like some change between 2.1.1 and 2.3.0 is breaking the import/require for us. Unfortunately lambda error stacks are pretty obscure - any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions