Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix esm error #521

Closed
wants to merge 1 commit into from
Closed

fix esm error #521

wants to merge 1 commit into from

Conversation

ntduan
Copy link
Contributor

@ntduan ntduan commented Sep 5, 2024

fix

SyntaxError: Named export 'isArray' not found. The requested module 'lodash' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from 'lodash';
const { isArray } = pkg;

@ntduan ntduan enabled auto-merge (squash) September 5, 2024 00:48
@ntduan ntduan changed the title fix lodash fix esm error Sep 5, 2024
@ntduan ntduan closed this Sep 5, 2024
auto-merge was automatically disabled September 5, 2024 01:27

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant