Error [ERR_REQUIRE_ESM]: require() of ES Module
Author: envCodeCreated May 6, 2023Updated Jul 29, 2024
Labelsbug
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-versionversion(s): v9.5.0- Node: Node 18.4.0
- OS: Windows 10
Possible Solution 一般都是当前使用依赖的版本过高导致,请将对应的依赖降低版本。 降低到那个版本?
Additional context

Source: conventional-changelog/standard-version