macコンパイルvideo.js http-streamming

1018 ワード

mac higsierraでvideo.js http-streamingをコンパイルして、公式の紹介に従って順次実行します.
git clone https://github.com/videojs/http-streaming
cd http-streaming
npm i
npm run build
npm iを実行している間に問題が発生しました.
> node install

node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.2/fse-v1.1.2-node-v67-darwin-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v67 ABI) (falling back to source compile with node-gyp) 
node-pre-gyp ERR! Tried to download(undefined): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.2/fse-v1.1.2-node-v67-darwin-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v67 ABI) (falling back to source compile with node-gyp) 
gyp ERR! configure error 
解決方法は低バージョンのnodeをインストールすることです.node@8)
brew search node
brew install node@8
brew unlink node
brew link --force --overwrite node@8