Closed yuki0920 closed 3 years ago
node-sass最新バージョンのインストール
$ dc run --rm web yarn add node-sass --force
WARNING: Found orphan containers (supplebox_chrome_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Creating supplebox_web_run ... done
yarn add v1.22.5
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@2.3.2: The platform "linux" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.2.13: The platform "linux" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
error node-sass@6.0.0: The engine "node" is incompatible with this module. Expected version ">=12". Got "10.24.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
Vue.jsのSFCのstyleでlang="scss"を使うと出るエラー
DockerコンテナのLinux用のNode Sassをインストールできていない
参考
rails webpacker:install node-sass: Command failed. - Qiita 【エラー】Error: Missing binding /myapp/node_modules/node-sass/vendor/linux-x64-64/binding.node【Ruby on Rails】 | nabelog Dockerfile for Rails6のベストプラクティスを解説 - Qiita