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

ink-docstrap 0.4.15 causes jsdoc to fail #116

Closed
psbanka opened this issue Feb 5, 2015 · 4 comments
Closed

ink-docstrap 0.4.15 causes jsdoc to fail #116

psbanka opened this issue Feb 5, 2015 · 4 comments
Assignees

Comments

@psbanka
Copy link

psbanka commented Feb 5, 2015

When running grunt jsdoc with the latest ink-docstrap, jsdoc is failing with the following error:

10:29 $ grunt --verbose jsdoc
Initializing
Command-line options: --verbose

Reading "Gruntfile.js" Gruntfile...OK

Registering Gruntfile tasks.

Registering "grunt-jsdoc" local Npm module tasks.
Reading /Users/pbanka/dev/cy-bootstrap/node_modules/grunt-jsdoc/package.json...OK
Parsing /Users/pbanka/dev/cy-bootstrap/node_modules/grunt-jsdoc/package.json...OK
Loading "jsdoc-plugin.js" tasks...OK
+ jsdoc
Reading package.json...OK
Parsing package.json...OK
Initializing config...OK
Loading "Gruntfile.js" tasks...OK
+ build, build-demo, build-dev, default, lint, post-coverage, test, test-coverage, test-debug, watch-build, watch-demo, watch-dev, watch-test

Running tasks: jsdoc

Running "jsdoc" task

Running "jsdoc:dist" (jsdoc) task
Verifying property jsdoc.dist exists in config...OK
Files: src
Options: private, destination="docs", recurse, template="node_modules/grunt-jsdoc/node_modules/ink-docstrap/template", configure="/Users/pbanka/dev/cy-bootstrap/node_modules/cy-toolkit/files/jsdoc.conf.json"
>> An error occurs in jsdoc process:
>> js: "/Users/pbanka/dev/cy-bootstrap/node_modules/grunt-jsdoc/node_modules/jsdoc/jsdoc.js", line 316: exception from uncaught JavaScript throw: Error: Unable to load template: Module "node_modules/grunt-jsdoc/node_modules/ink-docstrap/template/publish" not found.
Warning: jsdoc failure Use --force to continue.

If the dependency to ink-docstrap is set to 0.4.12 instead of ~0.4.12, jsdoc runs without problems.

@krampstudio
Copy link
Owner

Hi let me some time to investiguate the issue. Which version of grunt-jsdoc do you use (stable or beta)?

@sandersky
Copy link

This is relevant to this issue: docstrap/docstrap#79

@psbanka
Copy link
Author

psbanka commented Feb 9, 2015

@krampstudio Thanks for looking into this; we are on 0.5.7 (stable)

@krampstudio
Copy link
Owner

version 0.5.8 published on npm, it fix the docstrap version.

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

3 participants