Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix JSON in README.md #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

okcoker
Copy link

@okcoker okcoker commented Jun 27, 2018

If you're doing any sort of JSON.parse of your babelrc file, these keys need quotes. Otherwise you run into something like:

undefined:24
            globals: ["Error"],
            ^

SyntaxError: Unexpected token g in JSON at position 591
    at JSON.parse (<anonymous>)
    at Object.<anonymous> (/path/file.js:38:26)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Function.wrappedLoad [as _load] (/path/node_modules/newrelic/lib/shimmer.js:344:38)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant