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

Change case of "objectLiteral.hbs" so it can be found on Mac/Linux #1

Merged
merged 1 commit into from
Jun 19, 2017

Conversation

gcharnock
Copy link
Contributor

I was getting the following error while trying to use this plugin:

Using TypeScript 2.3.2 from /home/gareth/dev/director-api-client/node_modules/typedoc/node_modules/typescript/lib
fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^

Error: ENOENT: no such file or directory, open '/home/gareth/dev/director-api-client/node_modules/typedoc-plugin-markdown/dist/theme/partials/member.objectliteral.hbs'

It seems that typedoc was looking for a file 'member.objectliteral.hbs' instead of 'member.objectLiteral.hbs'. This wouldn't cause a problem on Windows, but breaks Mac/Linux. Renaming the file inside my node_modules fixed the problem.

I was getting the following error while trying to use this plugin:

Using TypeScript 2.3.2 from /home/gareth/dev/director-api-client/node_modules/typedoc/node_modules/typescript/lib
fs.js:549
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: ENOENT: no such file or directory, open '/home/gareth/dev/director-api-client/node_modules/typedoc-plugin-markdown/dist/theme/partials/member.objectliteral.hbs'

It seems that typedoc was looking for a file 'member.objectliteral.hbs' instead of 'member.objectLiteral.hbs'. This wouldn't cause a problem on Windows, but breaks Mac/Linux. Renaming the file inside my node_modules fixed the problem.
@tgreyuk tgreyuk merged commit f5e29d1 into typedoc2md:master Jun 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants