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

Error loading esdoc config after updating #74

Closed
mmoss opened this issue Sep 8, 2015 · 2 comments
Closed

Error loading esdoc config after updating #74

mmoss opened this issue Sep 8, 2015 · 2 comments

Comments

@mmoss
Copy link

@mmoss mmoss commented Sep 8, 2015

It looks like commit c796ac2 has broken the loading of our esdoc config:

.esdoc:2
  "source": "./src/js",
          ^
SyntaxError: Unexpected token :
    at exports.runInThisContext (vm.js:73:16)
    at Module._compile (module.js:443:25)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)

Current config:

{
  "source": "./src/js",
  "excludes": ["jspm.config.js"],
  "destination": "./docs",
  "title": "...",
  "unexportIdentifier": true,
  "coverage": false,
  "plugins": [
    {"name": "esdoc-es7-plugin"},
    {"name": "esdoc-importpath-plugin",
      "option": {
        "replaces": [
          {"from": "^src/", "to": "/"}
        ]
      }
    }
  ]
}
@h13i32maru
Copy link
Member

@h13i32maru h13i32maru commented Sep 10, 2015

@mmoss Hi! Thanks for this issue!
Is your esdoc config file extention non .json, by any chance?
If it is, please rename the file name to .json as workaround.

But I try to fix the crash.

@h13i32maru
Copy link
Member

@h13i32maru h13i32maru commented Sep 13, 2015

I published v0.2.6 that fixed this issue. Please try to use it.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.