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

Outdated dependenices warnings strip-ansi, strip-ansi-cjs, string-width #164

Open
aryankarim opened this issue Dec 8, 2024 · 3 comments

Comments

@aryankarim
Copy link

warning Pattern ["strip-ansi-cjs@npm:strip-ansi@^6.0.1"] is trying to unpack in the same destination "node_modules\\strip-ansi-cjs" as pattern ["strip-ansi@^6.0.1"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["string-width@^4.1.0"] is trying to unpack in the same destination "node_modules\\string-width-cjs" as pattern ["string-width-cjs@npm:string-width@^4.2.0"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["strip-ansi@^6.0.0"] is trying to unpack in the same destination "\\node_modules\\strip-ansi-cjs" as pattern ["strip-ansi@^6.0.1"]. This could result in non-deterministic behavior, skipping.
@shadowspawn
Copy link
Member

Are you using Yarn 1 to do the install?

There is a known problem introduced by an interaction of a custom build of cliui for jackspeak, and an old version of Yarn 1. Hopefully fixed in yarn@1.22.22 and higher: #138 (comment)

@aryankarim
Copy link
Author

@shadowspawn I'm using yarn v.1.22.22. The warnings are gone after removing yarn.lock and running yarn again.

@shadowspawn
Copy link
Member

I think the warnings were probably due to a bad install with an old version of Yarn which was then recorded in the lock file.

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

No branches or pull requests

2 participants