Skip to content

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

@ghost

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?

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