Bpmn-js-nyan blank editor page when running the demo


#1

Hello guys!

I recently cloned the bpmn-js-nyan from you guys and followed the instructions regarding building it and running, so far so good!

But when i browsed the http://localhost:9876/debug.html i only get a blank page, no editor nothing.

I double checked chrome console for errors, nothing there, no node errors either.

I believe i’m missing something.

Thanks in advance !!!

EDIT:

I found some error logs that might be useful

0 info it worked if it ends with ok
1 verbose cli [ ‘C:\Program Files\nodejs\node.exe’,
1 verbose cli ‘C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js’,
1 verbose cli ‘run’,
1 verbose cli ‘test:watch’ ]
2 info using npm@3.10.10
3 info using node@v6.9.4
4 verbose run-script [ ‘pretest:watch’, ‘test:watch’, ‘posttest:watch’ ]
5 info lifecycle bpmn-js-nyan@1.0.0~pretest:watch: bpmn-js-nyan@1.0.0
6 silly lifecycle bpmn-js-nyan@1.0.0~pretest:watch: no script for pretest:watch, continuing
7 info lifecycle bpmn-js-nyan@1.0.0~test:watch: bpmn-js-nyan@1.0.0
8 verbose lifecycle bpmn-js-nyan@1.0.0~test:watch: unsafe-perm in lifecycle true
9 verbose lifecycle bpmn-js-nyan@1.0.0~test:watch: PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;D:\Thiago\Projetos\bpmn-js-nyan-master\node_modules.bin;C:\Users\truiz\AppData\Roaming\npm;C:\Program Files\nodejs;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Users\truiz.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn;C:\Program Files\Microsoft SQL Server\120\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn;C:\Program Files (x86)\Skype\Phone;C:\Program Files\Git\cmd;C:\Program Files\nodejs;C:\Users\truiz\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Microsoft VS Code\bin
10 verbose lifecycle bpmn-js-nyan@1.0.0~test:watch: CWD: D:\Thiago\Projetos\bpmn-js-nyan-master
11 silly lifecycle bpmn-js-nyan@1.0.0~test:watch: Args: [ ‘/d /s /c’,
11 silly lifecycle ‘karma start test/config/karma.unit.js --auto-watch --no-single-run’ ]
12 silly lifecycle bpmn-js-nyan@1.0.0~test:watch: Returned: code: 3221225786 signal: null
13 info lifecycle bpmn-js-nyan@1.0.0~test:watch: Failed to exec test:watch script
14 verbose stack Error: bpmn-js-nyan@1.0.0 test:watch: karma start test/config/karma.unit.js --auto-watch --no-single-run
14 verbose stack Exit status 3221225786
14 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:255:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:191:7)
14 verbose stack at maybeClose (internal/child_process.js:877:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid bpmn-js-nyan@1.0.0
16 verbose cwd D:\Thiago\Projetos\bpmn-js-nyan-master
17 error Windows_NT 10.0.14393
18 error argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js” “run” “test:watch”
19 error node v6.9.4
20 error npm v3.10.10
21 error code ELIFECYCLE
22 error bpmn-js-nyan@1.0.0 test:watch: karma start test/config/karma.unit.js --auto-watch --no-single-run
22 error Exit status 3221225786
23 error Failed at the bpmn-js-nyan@1.0.0 test:watch script ‘karma start test/config/karma.unit.js --auto-watch --no-single-run’.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the bpmn-js-nyan package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error karma start test/config/karma.unit.js --auto-watch --no-single-run
23 error You can get information on how to open an issue for this project with:
23 error npm bugs bpmn-js-nyan
23 error Or if that isn’t available, you can get their info via:
23 error npm owner ls bpmn-js-nyan
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]


#2

I fixed it via this commit.

The issue was that the nyan cat example relied on deprecated and now removed behavior.