LoginSignup
2
2

More than 5 years have passed since last update.

Aurelia で semantic-ui を npm install するとコケる話

Posted at

2017年2月2日現在、aurelia-cli でスキャフォールディングしたプロジェクトにSemantic UIをインストールしようとすると、Gulp のメジャーバージョンミスマッチによりコケるようです。

TypeError: gulp.hasTask is not a function

Aurelia が求める Gulp : 4.0.* (alpha)
Semantic UI が求める Gulp : 3.9.* (npm latest)

なので、一度ローカルの gulp をダウングレードして Semantic UI だけをインストールすれば切り抜けられます。

npm uninstall gulp
npm install gulp@3.9.1
npm install semantic-ui
npm install gulp

過渡期なのでしかたありませんが、Aurelia の未来志向も相当ですね。

関連: Gulp 4.x #3899 Semantic-Org/Semantic-UI

2
2
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
2
2