gulp build
「bangular」プロジェクト ( ) をインストールした後、タスクを実行中にこのエラーが発生しますyo bangular
。
エラー:
libsass
バインディングが見つかりません。再インストールしてみてnode-sass
は?
これは、最新のノード、python バージョンが原因のようです
これを解決するには: 環境変数PYTHON
を python27 バイナリに指定しました
npm uninstall node-sass
npm install node-sass@latest
npm uninstall gulp-sass
npm install gulp-sass@latest
また、グローバル node-gyp モジュールを ( /nodejs/node_modules/npm/node_modules/
dir から) 削除し、再インストールしました ( npm install -g node-gyp@latest
)。