GithubHelp home page GithubHelp logo

Comments (5)

krampstudio avatar krampstudio commented on May 28, 2024

please post task's config as well as the result of grunt jsdoc:dist --debug

from grunt-jsdoc.

mems avatar mems commented on May 28, 2024

I've got the same issue

My config:

jsdoc: {
    dist: {
        src: 'script/*.js',
        options: {
            destination: 'documentation'
        }
    }
}

The output:

$ grunt jsdoc:dist --debug
Running "jsdoc:dist" (jsdoc) task
[D] Task source: /path/to/project/node_modules/grunt-jsdoc/tasks/jsdoc-plugin.js
[D] { private: true, destination: 'documentation' }
[D] nodePath
[D] look up node_modules/jsdoc/jsdoc at node_modules/jsdoc/jsdoc
[D] jsdoc found at : node_modules/jsdoc/jsdoc
[D] Reading option: private
[D] Reading option: destination
[D]                 > documentation
[D] Running : node_modules/jsdoc/jsdoc --private --destination documentation script/file1.js script/file2.js script/file3.js
>> An error occurs in jsdoc process:
>> Erreur : impossible de trouver ou charger la classe principale org.mozilla.javascript.tools.shell.Main
Warning: jsdoc failure Use --force to continue.

Aborted due to warnings.

from grunt-jsdoc.

krampstudio avatar krampstudio commented on May 28, 2024

it seems to be an upstream issue, related to jsdoc, you should found more infos into their google group.

from grunt-jsdoc.

mems avatar mems commented on May 28, 2024

My dependency graph is :

Maybe it's related to Peer Dependencies for jsdoc

Removing the host package [email protected] resolve the issue

from grunt-jsdoc.

krampstudio avatar krampstudio commented on May 28, 2024

No this is not related to peer dependencies. The grunt task is looking up for the nearest jsdoc binary. In the current version you can specify the jsdoc option in the task config if you'd like to use another version.

This behavior will not be a problem anymore as soon as I'll integrate the node.js version jsdoc (scheduled for 0.5.0).

from grunt-jsdoc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.