thlorenz / wicked

Generates github wiki compatible API documentation from your project's jsdocs and adds them to your wiki.
https://github.com/thlorenz/wicked
MIT License
51 stars 10 forks source link

installing wicked local can't locate jsdoc #3

Closed toddself closed 10 years ago

toddself commented 10 years ago
> npm i -D wicked
> ./node_modules/bin/wicked -- --configure .jsdocrc.json

module.js:340
    throw err;
          ^
Error: Cannot find module '/Users/tkenned2/src/node-parsely/node_modules/wicked/node_modules/jsdoc/package.json'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/Users/tkenned2/src/node-parsely/node_modules/wicked/lib/run-jsdoc.js:16:17)
    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)

> npm i -g wicked
> wicked -- --configure .jsdocrc.json
info wicked Cloning wiki from git@github.com:toddself/node-parsely.wiki.git
remote: Counting objects: 3, done.
remote: Total 3 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (3/3), done.
info wicked Cleaning out old wicked API files
info wicked Generating wicked API files
info wicked Updating sidebar with API doc files
info wicked Committing wiki changes to git@github.com:toddself/node-parsely.wiki.git
Counting objects: 8, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 4.41 KiB | 0 bytes/s, done.
Total 7 (delta 3), reused 0 (delta 0)
To git@github.com:toddself/node-parsely.wiki.git
   de9c965..f68182d  master -> master
info wicked Cleaning up ...
info wicked Everything is OK
thlorenz commented 10 years ago

should be fixed.

niiyeboah commented 5 years ago

I am still having this issue