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

Error while running wicked #7

Open
ludydoo opened this issue Jun 18, 2014 · 1 comment
Open

Error while running wicked #7

ludydoo opened this issue Jun 18, 2014 · 1 comment

Comments

@ludydoo
Copy link

ludydoo commented Jun 18, 2014

Hi,

I've tried to run wicked on my project, but can't achieve to run it. It returns me this error :

ludovic:relational2 ludydoo$ wicked -- --configure ./jsdoc.json
info wicked Cloning wiki from [email protected]:ludydoo/JRA.wiki.git
Cloning into 'wiki'...
remote: Counting objects: 3, done.
remote: Total 3 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (3/3), done.
Checking connectivity... done.

/usr/local/lib/node_modules/wicked/node_modules/jsdoc/lib/jsdoc/util/error.js:31
        throw e;
              ^
Error
    at Object.<anonymous> (/usr/local/lib/node_modules/wicked/node_modules/jsdoc/lib/jsdoc/tag/validator.js:34:35)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/wicked/node_modules/jsdoc/lib/jsdoc/tag.js:20:20)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
ERR! wicked Error: prog /Users/ludydoo/Projects/relational2 --destination /var/folders/n0/rdlys19d39dd8mw7wgt67vxc0000gn/T/ludydoo-JRA/out --configure ./jsdoc.json returned with code 8
ERR! wicked     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/wicked/lib/run.js:45:17)
ERR! wicked     at ChildProcess.EventEmitter.emit (events.js:98:17)
ERR! wicked     at maybeClose (child_process.js:753:16)
ERR! wicked     at Process.ChildProcess._handle.onexit (child_process.js:820:5)
ERR! wicked  { [Error: prog /Users/ludydoo/Projects/relational2 --destination /var/folders/n0/rdlys19d39dd8mw7wgt67vxc0000gn/T/ludydoo-JRA/out --configure ./jsdoc.json returned with code 8
ERR! wicked Details:
ERR! wicked Error: prog /Users/ludydoo/Projects/relational2 --destination /var/folders/n0/rdlys19d39dd8mw7wgt67vxc0000gn/T/ludydoo-JRA/out --configure ./jsdoc.json returned with code 8
ERR! wicked     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/wicked/lib/run.js:45:17)
ERR! wicked     at ChildProcess.EventEmitter.emit (events.js:98:17)
ERR! wicked     at maybeClose (child_process.js:753:16)
ERR! wicked     at Process.ChildProcess._handle.onexit (child_process.js:820:5)] stdout: '', code: 8 }

Running only wicked without configure returns me this :

ludovic:relational2 ludydoo$ wicked
info wicked Cloning wiki from [email protected]:ludydoo/JRA.wiki.git
Cloning into 'wiki'...
remote: Counting objects: 3, done.
remote: Total 3 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (3/3), done.
Checking connectivity... done.

/usr/local/lib/node_modules/wicked/node_modules/jsdoc/lib/jsdoc/util/error.js:31
        throw e;
              ^
Error
    at Object.<anonymous> (/usr/local/lib/node_modules/wicked/node_modules/jsdoc/lib/jsdoc/tag/validator.js:34:35)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/wicked/node_modules/jsdoc/lib/jsdoc/tag.js:20:20)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
ERR! wicked Error: prog /Users/ludydoo/Projects/relational2 --destination /var/folders/n0/rdlys19d39dd8mw7wgt67vxc0000gn/T/ludydoo-JRA/out --configure /usr/local/lib/node_modules/wicked/config/jsdocrc.json returned with code 8
ERR! wicked     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/wicked/lib/run.js:45:17)
ERR! wicked     at ChildProcess.EventEmitter.emit (events.js:98:17)
ERR! wicked     at maybeClose (child_process.js:753:16)
ERR! wicked     at Process.ChildProcess._handle.onexit (child_process.js:820:5)
ERR! wicked  { [Error: prog /Users/ludydoo/Projects/relational2 --destination /var/folders/n0/rdlys19d39dd8mw7wgt67vxc0000gn/T/ludydoo-JRA/out --configure /usr/local/lib/node_modules/wicked/config/jsdocrc.json returned with code 8
ERR! wicked Details:
ERR! wicked Error: prog /Users/ludydoo/Projects/relational2 --destination /var/folders/n0/rdlys19d39dd8mw7wgt67vxc0000gn/T/ludydoo-JRA/out --configure /usr/local/lib/node_modules/wicked/config/jsdocrc.json returned with code 8
ERR! wicked     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/wicked/lib/run.js:45:17)
ERR! wicked     at ChildProcess.EventEmitter.emit (events.js:98:17)
ERR! wicked     at maybeClose (child_process.js:753:16)
ERR! wicked     at Process.ChildProcess._handle.onexit (child_process.js:820:5)] stdout: '', code: 8 }

This is my jsdoc.json :

{
    "tags": {
        "allowUnknownTags": true
    },

    "source": {
        "include": ["lib", "README.md"]
    },


    "plugins": [ "plugins/markdown" ],

    "opts": {
        "destination": "docs",
        "recurse": true,
        "verbose": true,
        "template": "./node_modules/ink-docstrap/template"
    },

    "templates": {

        "cleverLinks": false,
        "monospaceLinks": false,

        "default": {
            "outputSourceFiles": true
        }

    }
}

Do you have any idea of what's wrong?

Thank you!

@jessebahr
Copy link

I had the same issue. After messing around a bit, it seems that jsdoc expects the last parameter to be the directory, not the first.

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

2 participants