npm i -S babel react electron-prebuilt master ✭ ✱ > electron-prebuilt@0.25.3 install /Users/shinriyo/react_apps/example-electron-babel/node_modules/electron-prebuilt > node install.js /Users/shinriyo/react_apps/example-electron-babel/node_modules/electron-prebuilt/install.js:18 throw err ^ Error: end of central directory record signature not found at /Users/shinriyo/react_apps/example-electron-babel/node_modules/yauzl/index.js:167:14 at /Users/shinriyo/react_apps/example-electron-babel/node_modules/yauzl/index.js:473:5 at /Users/shinriyo/react_apps/example-electron-babel/node_modules/fd-slicer/index.js:32:7 at FSReqWrap.wrapper [as oncomplete] (fs.js:576:17) example-electron-babel@1.0.0 /Users/shinriyo/react_apps/example-electron-babel ├── babel@5.8.35 └── react@0.13.3 npm ERR! Darwin 15.2.0 npm ERR! argv "/usr/local/Cellar/iojs/2.3.4/bin/iojs" "/usr/local/bin/npm" "i" "-S" "babel" "react" "electron-prebuilt" npm ERR! node v2.3.4 npm ERR! npm v3.3.9 npm ERR! code ELIFECYCLE npm ERR! electron-prebuilt@0.25.3 install: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the electron-prebuilt@0.25.3 install script 'node install.js'. npm ERR! This is most likely a problem with the electron-prebuilt package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node install.js npm ERR! You can get their info via: npm ERR! npm owner ls electron-prebuilt npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /Users/shinriyo/react_apps/example-electron-babel/npm-debug.log
バージョンつけたらいいっぽいので、@0.31.0
を付加した。
npm i -S babel react electron-prebuilt@0.31.0