Hi guys.
I’m new in this blog.
I have some problem with the build of /test after the project install and the download of project dependencies.
When I run the grunt command I obtain this error: Fatal error: spawn cmd ENOENT in the Running “jsdoc:dist” (jsdoc) task.
Can someone help me to understand what is the problem?
The error is reported in the image below.
I follow the instructions reported here.
So I cloned the project, I fetched dependencies with npm install commands, and after, I run the grunt to build /test.
The error occurs when I run the grunt command, in the “jsdoc:dist” (jsdoc) task (so I think the project is “jsdoc”).
Apparently there are some files or dependencies missing… Do you have java installed (which is a dependency of jsdoc)? You can check it in the command line with: java -version
Okay, the first issue should be resolved now. This is a different error. You could increase the browser activity timeout.
In the file bpmn-js/test/config/karma.unit.js you can change the value for browserNoActivityTimeout from 30000 to e.g. 100000 and try to run grunt again.
@pedesen another improvement is done.
Now in addition to the phase that caused errors before, the grunt command passes other passes but an error occurred when the jsdoc:dist (jsdoc) task:
The error is ENOENT, another time as in the past, but before it’s caused by jsdoc which is not installed. Now it’s installed so I don’t know the cause of this error.