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

Generate color theme throws an error #146

Open
estylianou opened this issue Nov 20, 2020 · 0 comments
Open

Generate color theme throws an error #146

estylianou opened this issue Nov 20, 2020 · 0 comments

Comments

@estylianou
Copy link
Contributor

Running the following command to generate the color theme
$ raml2html --theme "raml2html-slate-theme" -o "myhtml.html" -i "myraml.raml" --generate-color-theme

Get the following output:

[...]

////////////////////////////////////////////////////////////////////////////////
// INTERNAL
////////////////////////////////////////////////////////////////////////////////
// These settings are probably best left alone.
$break-words
-ms-word-break: break-all
word-break: break-all

/* Non standard for webkit */
word-break: break-word

-webkit-hyphens: auto
-moz-hyphens: auto
hyphens: auto
internal/fs/utils.js:259
throw err;
^

Error: ENOENT: no such file or directory, lstat '.../node_modules/raml2html-slate-theme/index.nunjucks'
at Object.realpathSync (fs.js:1646:7)
at getConfigForTemplate (/.../node_modules/raml2html/index.js:68:41)
at Object.getConfigForTheme (/.../node_modules/raml2html/index.js:156:12)
at Object. (/.../node_modules/raml2html/bin/raml2html:69:22)
at Module._compile (internal/modules/cjs/loader.js:1176:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1196:10)
at Module.load (internal/modules/cjs/loader.js:1040:32)
at Function.Module._load (internal/modules/cjs/loader.js:929:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47 {
errno: -2,
syscall: 'lstat',
code: 'ENOENT',
path: '/.../node_modules/raml2html-slate-theme/index.nunjucks'

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

No branches or pull requests

1 participant