question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ESDoc 0.4.7 issue with dependency

See original GitHub issue

Getting the following when doing require on node_modules/esdoc/out/src/Publisher/publish.js (for using the API).

let logger = new _colorLogger2.default('IceCap');
^^^
SyntaxError: Unexpected strict mode reserved word
    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)
    at Object.<anonymous> (/tmp/esdoctest/node_modules/esdoc/out/src/Publisher/publish.js:20:15)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
h13i32marucommented, May 4, 2016

Yes, IceCap requires Node v4 or greater. Please upgrade your Node version.

0reactions
h13i32marucommented, Dec 31, 2016

Please check latest ESDoc with Node.js v6

Read more comments on GitHub >

github_iconTop Results From Across the Web

Releases - ESDoc
Fix. Fix import { type foo } from './Bar' (flowtype syntax). ... 0.4.7 (2016-05-02). Fix. Broken if identifier name is stared with B...
Read more >
esdoc - UNPKG
esdoc/CHANGELOG.md ; 6, - Broken dependency package ; 7 ; 8, ## 0.4.6 (2016-03-06) ; 9, - **Fix** ; 10, - Crash when...
Read more >
Allow closure compiler's Unknown type · Issue #282 - GitHub
alexeagle opened this issue on May 11, 2016 · 4 comments ... alexeagle$ grep version node_modules/esdoc/package.json "version": "0.4.7" ...
Read more >
esdoc vulnerabilities | Snyk
Does your project rely on vulnerable package dependencies? Automatically find and fix vulnerabilities affecting your projects.
Read more >
grunt-esdoc - npm
grunt-esdoc · Install · Documentation · Contributing · Release History · License · Dependencies (1) · Dev Dependencies (1).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found