0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

AWSデプロイ時のプリコンパイルでつまづいた話

Posted at

こちらの記事を参考にAWSのデプロイを進めていると、最後の最後であるプリコンパイルで詰まる

rake assets:precompile RAILS_ENV=production

を実行すると長文のエラー
よくみてみると

error /var/www/rails/myapp/node_modules/node-sass: Command failed.

node-sass周りに問題がある?

こちらの記事を参考に解決。

node -v 
v16.1.0

nodeのバージョンが非推奨だったようで記事の方法を試すと解決。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?