stormqx / hawkeye

🦉👀Run scripts on git diff files
MIT License
7 stars 0 forks source link

npm install 的时候就报错了,不知道是不是只有我这样 #2

Open JunSong opened 4 years ago

JunSong commented 4 years ago

3AE50A6C-4012-4BBA-BFE1-A1DA7B9CAC8E

` npm install --save-dev hawkeye npm WARN deprecated coffee-script@1.6.3: CoffeeScript on NPM has moved to "coffeescript" (no hyphen) npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

inotify@1.2.1 install /Users/XXX/IdeaProjects/ebook-activity/node_modules/inotify node-gyp rebuild

CXX(target) Release/obj.target/inotify/src/bindings.o In file included from ../src/bindings.cc:2: In file included from ../src/bindings.h:4: ../src/node_inotify.h:7:10: fatal error: 'sys/inotify.h' file not found

include <sys/inotify.h>

     ^~~~~~~~~~~~~~~

1 error generated. make: *** [Release/obj.target/inotify/src/bindings.o] Error 1`

Deol commented 4 years ago

看起来是 Readme 有误,实际包名称是@stormqx/hawkeye

$ npm install --save-dev @stormqx/hawkeye
JunSong commented 4 years ago

看起来是 Readme 有误,实际包名称是@stormqx/hawkeye

$ npm install --save-dev @stormqx/hawkeye

嗯。可以了