-
-
Notifications
You must be signed in to change notification settings - Fork 950
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
Fix package resolution error when using Yarn 1 #7471
Comments
Follow up, during install i see issues like this that go away when i uninstall stylelint: warning Pattern ["strip-ansi@^6.0.1"] is trying to unpack in the same destination "/Users/johnshankman/Library/Caches/Yarn/v6/npm-strip-ansi-cjs-6.0.1-9e26c63d30f53443e9489495b2105d37b67a85d9-integrity/node_modules/strip-ansi-cjs" as pattern ["strip-ansi-cjs@npm: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 "/Users/johnshankman/Library/Caches/Yarn/v6/npm-string-width-cjs-4.2.3-269c7117d27b05ad2e536830a8ec895ef9c6d010-integrity/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 "/Users/johnshankman/Library/Caches/Yarn/v6/npm-strip-ansi-cjs-6.0.1-9e26c63d30f53443e9489495b2105d37b67a85d9-integrity/node_modules/strip-ansi-cjs" as pattern ["strip-ansi-cjs@npm:strip-ansi@^6.0.1"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["string-width@^4.2.3"] is trying to unpack in the same destination "/Users/johnshankman/Library/Caches/Yarn/v6/npm-string-width-cjs-4.2.3-269c7117d27b05ad2e536830a8ec895ef9c6d010-integrity/node_modules/string-width-cjs" as pattern ["string-width-cjs@npm:string-width@^4.2.0"]. This could result in non-deterministic behavior, skipping. |
Update: I was able to get some stability by upgrading to the following packages so that all of stylelint is more in line with itself: "stylelint": "^16.0.0",
"stylelint-config-recommended": "^14.0.0",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard": "^35.0.0",
"stylelint-config-standard-scss": "^12.0.0",
"stylelint-scss": "^6.0.0", Double update: Nope that didn't work I still need this to get things to function inside of repos with eslint:
|
@johnnyshankman Thanks for the report, using the template and for providing updates. Can you share your |
Yessir! Problem is it uses a private package but
My solution was to stop using yarn and move over to npm. |
related: yarnpkg/yarn#8976, yarnpkg/yarn#9023 @johnnyshankman which version of yarn are you using? |
What minimal example or steps are needed to reproduce the bug?
Just install and try to run the linter, fails before it can even start reading files.
What minimal configuration is needed to reproduce the bug?
How did you run Stylelint?
Which Stylelint-related dependencies are you using?
See above
What did you expect to happen?
I can lint
What actually happened?
I get issues surrounding strip-ansi and stylish resolutions.
Do you have a proposal to fix the bug?
Nope, this is a known issue in yarn 1. Not sure how you fix but boy is it annoying.
The text was updated successfully, but these errors were encountered: