Problem on installation
See original GitHub issueHello everyone! I have an issue during installation after
npm install
electron-react-boilerplate@0.13.3 postinstall C:\Users\DronVol\Documents\electron_react_boilerplate_test\electron-react-boilerplate node -r babel-register internals/scripts/CheckNativeDep.js && npm run flow-typed && npm run build-dll && electron-builder install-app-deps && node node_modules/fbjs-scripts/node/check-dev-engines.js pa ckage.json
module.js:549 throw err; ^
Error: Cannot find module ‘babel-register’ at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at Function.Module._preloadModules (module.js:753:12)
at preloadModules (bootstrap_node.js:475:38)
at startup (bootstrap_node.js:188:9)
at bootstrap_node.js:612:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron-react-boilerplate@0.13.3 postinstall: node -r babel-register internals/scripts/CheckNativeDep.js && npm run flow-typed && npm run build-dll && electron-builder install-app-deps && node node_modules/fbjs-scripts/node/check-dev-engines.js package.json
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron-react-boilerplate@0.13.3 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\DronVol\AppData\Roaming\npm-cache_logs 2018-07-31T14_42_36_452Z-debug.log \2018-07-31T14_42_36_452Z-debug.log
What kind of trouble do I have? babel-register is in its place, in a node_modules folder in the root catalog.
Thanks in advance.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)

Top Related StackOverflow Question
OK found the solution.
If you copy the files using Mac Finder you probably missed hidden files.
Use the terminal to copy the repo repo and be sure you have all the files, i.e. files and folders that start with a dot .erb
this issue persists