Comments (4)
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.
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.
I still dont see any problem
and if you try it without copying files afterwards, it still produces this error?
from docdash.
@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)
- Add your language
- (wish) Add links from examples to online code editor
- (wish) Collapse section HOT 3
- Support usage of {@link url text} in @listens, et al HOT 1
- Use of @hideconstructor with virtual classes creates an empty page HOT 1
- Add class to <h5>Parameters</h5> and other h5 elements HOT 2
- Call for volunteers / Onboard new members to manage PRs log HOT 5
- Allow creation of minor and major documents.
- Fix CSS to correctly display <pre><code>...</code></pre>?
- The effect of '@returns' is no beautiful. Can anyone fix it? HOT 1
- JSDoc 4 support HOT 2
- instance member in menu HOT 6
- Side nav anchor links not working HOT 4
- Kinda Sorted list of method names. HOT 1
- About the static members of the error
- configure the theme HOT 7
- Is there a sample. vue file annotation? HOT 2
- Why do I use Chinese in the @module, the method below the module cannot be opened in the page HOT 5
- markdown table shows up twice
- @example code background color
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docdash.