electron-userland / electron-prebuilt-compile

electron-prebuilt with Babel and React built-in
167 stars 50 forks source link

TypeError: Cannot use 'in' operator to search for 'name' in undefined #37

Open daraclare opened 7 years ago

daraclare commented 7 years ago

I'm trying to add electron to my React app, and have followed I get the error below when running electron .

Uncaught Exception:
TypeError: Cannot use 'in' operator to search for 'name' in undefined at createCompilerHostFromBabelRcSync (/Users/xxx/Sites/tester/node_modules/electron-compile/lib/config-parser.js:363:14)

Is there an example of it working with React that maybe I could follow? Thanks for your time!

leoolmos commented 7 years ago

Hey,

Did you find what was causing this error?