LoginSignup
0
0

More than 5 years have passed since last update.

lodash.jsがコマンドラインからビルドできなくなった

Last updated at Posted at 2013-09-30

lodashをnpmでインストールしても
コマンドラインからカスタムビルドができなくなった。

$ npm install -g lodash
$ lodash
zsh: command not found: lodash

パスが通ってないかと思ったけど、そもそもlodashの中に/binが無い。
よく見たら、いつの間にかGrunt.jsみたいに
コマンドラインのインターフェースは別パッケージになってました。
lodash-cli

$ npm install -g lodash-cli
$ lodash
Compressing lodash.min using the Closure Compiler (simple)...
Done. Size: 11258 bytes.
Compressing lodash.min using the Closure Compiler (advanced)...
Done. Size: 11260 bytes.
Compressing lodash.min using UglifyJS...
Done. Size: 11307 bytes.
Compressing lodash.min using hybrid (simple)...
Done. Size: 11087 bytes.
Compressing lodash.min using hybrid (advanced)...
Done. Size: 11085 bytes.

この変更は2.0からのようです。
ちゃんとチェックしてないとダメですね。

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