souporserious / react-media-player

React audio and video player.
https://souporserious.github.io/react-media-player/
ISC License
470 stars 100 forks source link

npm install fails on: babel src --out-dir lib #6

Closed hectoroso closed 8 years ago

hectoroso commented 8 years ago

While following the instructions to run locally, I ran into the following issue.

react-media-player> npm install
...
> babel src --out-dir lib

sh: babel: command not found

npm ERR! Darwin 15.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build:lib"
npm ERR! node v4.4.0
npm ERR! npm  v3.8.6
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! react-media-player@0.4.0 build:lib: `babel src --out-dir lib`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the react-media-player@0.4.0 build:lib script 'babel src --out-dir lib'.
souporserious commented 8 years ago

This looks like an issue with babel. Do you have babel-cli installed on your machine?