Skip to content

Error [ERR_REQUIRE_ESM]: require() of ES Module #939

@envCode

Description

@envCode

Describe the bug
const wrap = require('wrap-ansi'); Error [ERR_REQUIRE_ESM]: require() of ES Module

Current behavior
standard-version

Expected behavior
standard-version

Environment

  • standard-version version(s): v9.5.0
  • Node: Node 18.4.0
  • OS: Windows 10

Possible Solution
一般都是当前使用依赖的版本过高导致,请将对应的依赖降低版本。
降低到那个版本?

Additional context
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    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