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 5 years have passed since last update.

nodeのバージョン上げたらビルドこけた

Posted at

nodeのバージョンを上げたらエラーが起こってビルドがコケていたので備忘録。
ターミナルのエラー文見ると下記が表示されていた。

Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 12.x

node-sassが何やら大切な物を見つけられないでいるみたいです。

This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.

続けてエラー文を見ていきます。
すると、環境が変わった時に起こる現象らしく、npm rebuild node-sassコマンドを打て、と言われています。

npm run rebuild

解決!

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?