You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024.4.15現在、nodejsが10.19.0でも下記エラーが表示され、環境構築を正常終了できない状況です。 error [email protected]: The engine "node" is incompatible with this module. Expected version ">=12.0.0".
Dockerfileを覗いてみると、 FROM oiax/rails6-deps:latest
と書かれており、ベースOSが何か分かりませんでしたが、実際にはAlpine Linux v3.9でした。Alpine Linux内でnodejsをv12.0.0以上に上げたいのですが、その方法が分かりませんでした。
「Ruby on Rails6 実践ガイド」と「Ruby on Rails6 実践ガイド[機能拡張版]」を購入済みですが、最初の環境構築の段階で止まってしまいます。
Rails 6 の webpacker は、Node.js のバージョンは 10.19.0 以上が必要のようです。
sudo apk upgrade nodejs
で 10.19.0 にアップグレードして対処しました。The text was updated successfully, but these errors were encountered: