GithubHelp home page GithubHelp logo

Fails on Windows about grunt-jsdoc HOT 5 CLOSED

krampstudio avatar krampstudio commented on May 24, 2024
Fails on Windows

from grunt-jsdoc.

Comments (5)

krampstudio avatar krampstudio commented on May 24, 2024

I'll see if this is not due to the space characters in the path

from grunt-jsdoc.

krampstudio avatar krampstudio commented on May 24, 2024

I'm not able to reproduce this error, on windows 7 using the cmd.exe with grunt-jsdoc#0.3.3
Could you post the output of : grunt jsdoc --debug

from grunt-jsdoc.

muxa avatar muxa commented on May 24, 2024

Thanks for looking into this. Here's the output:

E:\Users\md\Documents\Visual Studio 2010\Projects\MyProject\grunt jsdoc --debug
Running "jsdoc:dist" (jsdoc) task
[D] Task source: E:\Users\md\Documents\Visual Studio 2010\Projects\MyProject\node_modules\grunt-jsdoc\tasks\jsdoc-plugin.js
[D] { private: true, destination: 'doc' }
[D] nodePath
[D] look up node_modules/jsdoc/jsdoc at node_modules/jsdoc/jsdoc
[D] look up node_modules/jsdoc/jsdoc at node_modules/grunt-jsdoc/
[D] look up node_modules/jsdoc/jsdoc at node_modules/grunt-jsdoc/node_modules/js
doc/jsdoc
[D] JAVA_HOME : C:\Program Files (x86)\Java\jre6\bin
[D] jsdoc found at : E:\Users\md\Documents\Visual Studio 2010\Projects\MyProject\node_modules\grunt-jsdoc\node_modules\jsdoc\jsdoc
[D] create destination : doc
[D] Reading option: private
[D] Reading option: destination
[D]                 > doc
[D] Running : cmd /c E:\Users\md\Documents\Visual Studio 2010\Projects\MyProject\node_modules\grunt-jsdoc\node_modules\jsdoc\jsdoc --private --destination doc appv2/js/data.js appv2/js/diagnostics.js
>> An error occurs in jsdoc process:
>> 'E:\Users\md\Documents\Visual' is not recognized as an internal or external c
ommand,
>> operable program or batch file.
Warning: jsdoc failure Use --force to continue.

Aborted due to warnings.
"Exited with: " 3

from grunt-jsdoc.

xavisavvy avatar xavisavvy commented on May 24, 2024

As a note for others researching this issue, I discovered this error, and after debugging it looked like it was needing Java on my path to run.

An error occurs in jsdoc process:
'java' is not recognized as an internal or external command,
operable program or batch file.

from grunt-jsdoc.

krampstudio avatar krampstudio commented on May 24, 2024

@xavisavvy don't you have either an old version of the plugin ? or the deprecated package ?
Could you post your package.json

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.