Installation gives ENOENT for Babel
jamwaffles opened this issue · comments
James Waples commented
I get the following error when running npm install react-native-swiper --save
:
$ npm install react-native-swiper --save
npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/nvm/versions/node/v0.12.2/bin/npm" "install" "react-native-swiper" "--save" "--production"
npm ERR! node v0.12.2
npm ERR! npm v2.8.3
npm ERR! path /Users/jwaples/Repositories/Lemmeno/LemmenoNative/node_modules/react-native-swiper/bin/babel
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! enoent ENOENT, chmod '/Users/jwaples/Repositories/Lemmeno/LemmenoNative/node_modules/react-native-swiper/bin/babel'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /Users/jwaples/Repositories/Lemmeno/LemmenoNative/npm-debug.log
This occurs both with Node 0.12.2 and Node 0.10.36, with or without the --production
flag to NPM.
James Waples commented
This is obviously not a good fix, but this commit to my fork proves that it's Babel being weird.
斯人 commented
sorry i will check it later after come back
James Waples commented
Great, thanks!