react-redux-universal-hot-example icon indicating copy to clipboard operation
react-redux-universal-hot-example copied to clipboard

Error while parsing JSON - Unexpected ' ' when npm install

Open arbitragedlife opened this issue 8 years ago • 1 comments

I'm getting this error when running npm install, not sure why. I have not modified any of the code.

ERROR in ./src/client.js Module build failed: SyntaxError: /Users/abelwang/projects/react-redux-universal-hot-example-master/.babelrc: Error while parsing JSON - Unexpected '' at JSON5.parse.error (/Users/abelwang/projects/react-redux-universal-hot-example-master/node_modules/babel-core/node_modules/json5/lib/json5.js:50:25) at JSON5.parse.word (/Users/abelwang/projects/react-redux-universal-hot-example-master/node_modules/babel-core/node_modules/json5/lib/json5.js:378:13) at JSON5.parse.value (/Users/abelwang/projects/react-redux-universal-hot-example-master/node_modules/babel-core/node_modules/json5/lib/json5.js:478:56) at Object.parse (/Users/abelwang/projects/react-redux-universal-hot-example-master/node_modules/babel-core/node_modules/json5/lib/json5.js:491:18) at OptionManager.addConfig (/Users/abelwang/projects/react-redux-universal-hot-example-master/node_modules/babel-core/lib/transformation/file/options/option-manager.js:100:62) at OptionManager.findConfigs (/Users/abelwang/projects/react-redux-universal-hot-example-master/node_modules/babel-core/lib/transformation/file/options/option-manager.js:168:35) at OptionManager.init (/Users/abelwang/projects/react-redux-universal-hot-example-master/node_modules/babel-core/lib/transformation/file/options/option-manager.js:229:12) at File.initOptions (/Users/abelwang/projects/react-redux-universal-hot-example-master/node_modules/babel-core/lib/transformation/file/index.js:147:75) at new File (/Users/abelwang/projects/react-redux-universal-hot-example-master/node_modules/babel-core/lib/transformation/file/index.js:137:22) at Pipeline.transform (/Users/abelwang/projects/react-redux-universal-hot-example-master/node_modules/babel-core/lib/transformation/pipeline.js:164:16) at transpile (/Users/abelwang/projects/react-redux-universal-hot-example-master/node_modules/babel-loader/index.js:12:22) at Object.module.exports (/Users/abelwang/projects/react-redux-universal-hot-example-master/node_modules/babel-loader/index.js:69:12) @ multi main

arbitragedlife avatar Dec 10 '15 08:12 arbitragedlife

@aboutabel Did you find a solution to this?

oyeanuj avatar Feb 06 '17 03:02 oyeanuj