Skip to content

Error [ERR_REQUIRE_ESM] with netlify link #868

Description

@kaganjd

- Do you want to request a feature or report a bug?
Bug

- What is the current behavior?
netlify link with a fresh CLI install returns Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: /usr/local/lib/node_modules/netlify-cli/node_modules/is-promise/index.js require() of ES modules is not supported.

- If the current behavior is a bug, please provide the steps to reproduce.

  1. npm install netlify-cli -g
  2. netlify link

- Local Environment Information

  • MacOS
  • v12.16.2

Related

% netlify -v
netlify-cli/2.48.0 darwin-x64 node-v12.16.2

Metadata

Metadata

Assignees

Labels

type: bugcode to address defects in shipped code

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions