ERROR in ./source/client/index.js
Module build failed: TypeError: Path must be a string. Received undefined
at assertPath (path.js:7:11)
at Object.dirname (path.js:1326:5)
at /Users/zjr/Projects/universal-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:353:36
at /Users/zjr/Projects/universal-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:375:22
at Array.map (native)
at OptionManager.resolvePresets (/Users/zjr/Projects/universal-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:364:20)
at OptionManager.mergePresets (/Users/zjr/Projects/universal-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:348:10)
at OptionManager.mergeOptions (/Users/zjr/Projects/universal-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:307:14)
at /Users/zjr/Projects/universal-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:349:14
at /Users/zjr/Projects/universal-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:369:24
at Array.map (native)
at OptionManager.resolvePresets (/Users/zjr/Projects/universal-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:364:20)
at OptionManager.mergePresets (/Users/zjr/Projects/universal-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:348:10)
at OptionManager.mergeOptions (/Users/zjr/Projects/universal-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:307:14)
at OptionManager.addConfig (/Users/zjr/Projects/universal-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:207:10)
at OptionManager.findConfigs (/Users/zjr/Projects/universal-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:413:16)
at OptionManager.init (/Users/zjr/Projects/universal-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:461:12)
at File.initOptions (/Users/zjr/Projects/universal-react-boilerplate/node_modules/babel-core/lib/transformation/file/index.js:194:75)
at new File (/Users/zjr/Projects/universal-react-boilerplate/node_modules/babel-core/lib/transformation/file/index.js:123:22)
at Pipeline.transform (/Users/zjr/Projects/universal-react-boilerplate/node_modules/babel-core/lib/transformation/pipeline.js:45:16)
at transpile (/Users/zjr/Projects/universal-react-boilerplate/node_modules/babel-loader/index.js:14:22)
at Object.module.exports (/Users/zjr/Projects/universal-react-boilerplate/node_modules/babel-loader/index.js:88:12)
@ multi main
Fixes webpack build issue on node versions 6+.
Stacktrace: