Error loading esdoc config after updating #74

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

Comments

Projects
None yet
2 participants
@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

This comment has been minimized.

Show comment
Hide comment
@h13i32maru

h13i32maru Sep 10, 2015

Member

@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.

Member

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

This comment has been minimized.

Show comment
Hide comment
@h13i32maru

h13i32maru Sep 13, 2015

Member

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

Member

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