🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

fs.js:663 return binding.open(pathModule.toNamespacedPath(path) #484

Open

Description

Hello.

kubuntu 17.10, node 9
bug demo git repo

I couldn't execute esdoc in the simplest example:

lex@acer:~/Desktop/esdoc$ yarn run esdoc
yarn run v1.3.2
warning package.json: No license field
$ /home/lex/Desktop/esdoc/node_modules/.bin/esdoc
parse: /home/lex/Desktop/esdoc/src/.external-ecmascript.js
parse: /home/lex/Desktop/esdoc/src/app.js
fs.js:663
  return binding.open(pathModule.toNamespacedPath(path),
                 ^

Error: ENOENT: no such file or directory, open './README.md'
    at Object.fs.openSync (fs.js:663:18)
    at Object.fs.readFileSync (fs.js:568:33)
    at Function._generateForIndex (/home/lex/Desktop/esdoc/node_modules/esdoc/out/src/ESDoc.js:253:44)
    at Function.generate (/home/lex/Desktop/esdoc/node_modules/esdoc/out/src/ESDoc.js:123:25)
    at ESDocCLI.exec (/home/lex/Desktop/esdoc/node_modules/esdoc/out/src/ESDocCLI.js:71:23)
    at Object.<anonymous> (/home/lex/Desktop/esdoc/node_modules/esdoc/out/src/ESDocCLI.js:182:7)
    at Module._compile (module.js:641:30)
    at Object.Module._extensions..js (module.js:652:10)
    at Module.load (module.js:560:32)
    at tryModuleLoad (module.js:503:12)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Can anyone help?

Activity

  1. ghost closed this as completedon Nov 21, 2017
  2. ghost reopened this on Nov 28, 2017
  3. 22a commented on Nov 29, 2017

    @22a
    Contributor

    Duplicate of #432

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions