[go: nahoru, domu]

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

Missing string-width dependency #4036

Open
FlorianKoerner opened this issue Jun 30, 2024 · 0 comments
Open

Missing string-width dependency #4036

FlorianKoerner opened this issue Jun 30, 2024 · 0 comments

Comments

@FlorianKoerner
Copy link
FlorianKoerner commented Jun 30, 2024

Current Behavior

I get the following error when using "lerna run"

Error [ERR_REQUIRE_ESM]: require() of ES Module node_modules/string-width/index.js from node_modules/lerna/dist/index.js not supported.

This apparently happens because Lerna uses a randomly installed version of string-width but does not specify a dependency in the package.json itself.

Related

35440d4

Workaround

Downgrade to lerna 8.1.4

FlorianKoerner added a commit to dicebear/dicebear that referenced this issue Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant