Giter VIP home page Giter VIP logo

Comments (4)

ar2rsawseen avatar ar2rsawseen commented on September 28, 2024

Hello,
unfortunately I am not sure, what could be the issue.
Can you provide the debug log that is listed in the end of the error?

from docdash.

raulkozy avatar raulkozy commented on September 28, 2024

Hi @ar2rsawseen ,

Below is the debug log

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'run',
1 verbose cli   'generate-docs' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'pregenerate-docs', 'generate-docs', 'postgenerate-docs' ]
5 info lifecycle [email protected]~pregenerate-docs: [email protected]
6 info lifecycle [email protected]~generate-docs: [email protected]
7 verbose lifecycle [email protected]~generate-docs: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~generate-docs: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/rahulkohli/Desktop/Services/iam-ms/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin
9 verbose lifecycle [email protected]~generate-docs: CWD: /home/rahulkohli/Desktop/Services/iam-ms
10 silly lifecycle [email protected]~generate-docs: Args: [ '-c',
10 silly lifecycle   'jsdoc -c jsdoc.json && cp -R ./jsdoc.css ./out/styles/' ]
11 silly lifecycle [email protected]~generate-docs: Returned: code: 1  signal: null
12 info lifecycle [email protected]~generate-docs: Failed to exec generate-docs script
13 verbose stack Error: [email protected] generate-docs: `jsdoc -c jsdoc.json && cp -R ./jsdoc.css ./out/styles/`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
13 verbose stack     at EventEmitter.emit (events.js:197:13)
13 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:197:13)
13 verbose stack     at maybeClose (internal/child_process.js:988:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
14 verbose pkgid [email protected]
15 verbose cwd /home/rahulkohli/Desktop/Services/iam-ms
16 verbose Linux 4.15.0-33-generic
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "generate-docs"
18 verbose node v11.12.0
19 verbose npm  v6.9.0
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] generate-docs: `jsdoc -c jsdoc.json && cp -R ./jsdoc.css ./out/styles/`
22 error Exit status 1
23 error Failed at the [email protected] generate-docs script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

from docdash.

ar2rsawseen avatar ar2rsawseen commented on September 28, 2024

I still dont see any problem
and if you try it without copying files afterwards, it still produces this error?

from docdash.

raulkozy avatar raulkozy commented on September 28, 2024

@rahulkohli23
I tried hitting the command

node_modules/jsdoc/jsdoc.js -c jsdoc.json

i.e. without copying the files,
this gave me the exact error.
After resolving the same.
The script worked fine.

Thanks for your help.

from docdash.

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.