erikras / erikras/react-redux-universal-hot-example

Error while parsing JSON - Unexpected ' ' when npm install

Open
#688 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.1k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

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`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.