-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
yarnをやめる #6222
Comments
え、そんなことないよ… |
couldn't be built successfully |
それどの道 npm でも node-gyp で落ちませんか |
npmだと大丈夫だった |
Yarn 2入れちゃっておかしくなったのかも(まだYarn 2対応していない?) |
couldn't be built successfully って何なのかと思ったら v2 のエラーか…… |
というか v2 入ってても |
あ、
ってそういうことか |
yarn.lockのバージョンが変わっちゃってる - # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
- # yarn lockfile v1
+ # This file is generated by running "yarn install" inside your project.
+ # Manual changes might be lost - proceed with caution!
+
+ __metadata:
+ version: 4 |
v2 を使う方向で行くなら #5858 に議論を移すか、v1 のままで行くなら当該コミットを一旦差し戻しましょう。 |
とりあえず yarn.lock revertしたい |
revertしてもpackage.jsonとのズレが生じるけどどうしたら良いんだろう |
revertして、yarn v1 で yarn 叩けば yarn.lock なおしてくれたりしませんかね? |
直る https://gist.github.com/acid-chicken/a2d609830ed97791d4f622d9f68f0a4b |
|
yarn使ってる理由ってresolutions解釈して欲しいだけだったと思うので、↑にすればyarnやめられそう |
requiredなのはそれだけだけどそれ以外にも yarn入ってないNode.js開発環境もあんまりない気がするし (これは主観かも) Dockerのnodeイメージにも最初から入ってるし |
なるほど |
v2に移行とかよくわからんからyarnやめようぜ |
やめて何使うの
npm に無理やり resolution 解決させる類い、確か lockfile 周りが残念な感じになって不整合の元になる |
最近のnpmってresolutionサポートなかったっけ? |
npm/cli#4116 で似た機能は入ったらしい(互換性はないが) |
Why even have v2 in the discussion when v3 is out already? I've been using v3 with Misskey with no issues. |
Summary
バージョン上げると依存関係がインストールできなくなったりしてサポートが面倒なのでnpmにしたい
ご意見募集中
The text was updated successfully, but these errors were encountered: