【テスト環境】の検索結果
(1/2)
yarn の1系から4.5へのアップデートできたっぽい(テスト環境です)
npmで現行バージョン削除
# npm uninstall -g yarn
>up to date in 881ms
npmで V2インストール
# npm install -g yarn@berry
>npm error code EEXIST
>npm error path /usr/bin/yarn
>npm error EEXIST: file already exists
(以下略)
ダメだったので強制インストール
# npm install -g yarn@berry --force
>npm warn using --force Recommended protections disabled.
>added 1 package in 706ms
V2になった
# yarn -v
>2.4.3
なんで多分以下を叩くことになって流石に心配なのでテスト環境上でバックアップ取ってる
DELETE FROM "user_publickey"
WHERE "userId" NOT IN (SELECT "id" FROM "user");
20分に1回程度鯖が重くなる問題、まじでなんとかしないとスパムで落ちる可能性が高いのでとりあえず解決方法をに聞くなどした
あとでテスト環境で試してみる