ののいち の 1.2..3...

IT関連の技術情報をメインに、学んだことや感じたことを書いています。

ionic を起動したら、Node Sassのエラーが発生

ionic を起動しようとしたら、以下のエラーが発生しました。

$ ionic serve

> ionic-app-scripts serve --address 0.0.0.0 --port 8100 --livereload-port 35729 --dev-logger-port 53703 --nobrowser
[app-scripts] /Users/nonoichi/works/github/test/node_modules/node-sass/lib/binding.js:13
[app-scripts]       throw new Error(errors.unsupportedEnvironment());
[app-scripts]       ^
[app-scripts] Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (67)

[ERROR] ionic-app-scripts has unexpectedly closed (exit code 1).

        The Ionic CLI will exit. Please check any output above for error details.

node-sass をrebuildしたら、解消しました。

$ npm rebuild node-sass