Bpmn-js - BPMN 2.0 for the web

Hello everyone,

I would like to install BPMN.IO, and I hope the software can be used simultaneously by multiple people. I have the following questions:

  1. Is a Linux server that is accessible over the network sufficient for this?
  2. Can the software be used by multiple people at the same time?
  3. How is the software installed? I tried installing it following these steps, but unfortunately, it was unsuccessful, so I would appreciate your support:
  • Logged in as root on the server.
    • Entered the following commands in the console:
  • apt-get update && apt-get upgrade
  • apt install nodejs npm
  • npm install bpmn-js
  • git clone https://github.com/bpmn-io/bpmn-js.git -b v17.11.1
  • npm install
  • npm run all

When starting npm, I receive the following message:

css

Code kopieren

0 verbose cli /usr/bin/node /usr/bin/npm
1 info using npm@9.2.0
2 info using node@v20.16.0
3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 2ms
5 timing config:load:file:/usr/share/nodejs/npm/npmrc Completed in 2ms
6 timing config:load:builtin Completed in 2ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 1ms
9 timing config:load:project Completed in 1ms
10 timing config:load:file:/root/.npmrc Completed in 1ms
11 timing config:load:user Completed in 1ms
12 timing config:load:file:/etc/npmrc Completed in 0ms
13 timing config:load:global Completed in 0ms
14 timing config:load:setEnvs Completed in 1ms
15 timing config:load Completed in 9ms
16 timing npm:load:configload Completed in 9ms
17 timing npm:load:mkdirpcache Completed in 1ms
18 timing npm:load:mkdirplogs Completed in 0ms
19 verbose title npm run all
20 verbose argv "run" "all"
21 timing npm:load:setTitle Completed in 1ms
22 timing config:load:flatten Completed in 3ms
23 timing npm:load:display Completed in 4ms
24 verbose logfile logs-max:10 dir:/root/.npm/_logs/2024-10-16T14_57_19_505Z-
25 verbose logfile /root/.npm/_logs/2024-10-16T14_57_19_505Z-debug-0.log
26 timing npm:load:logFile Completed in 7ms
27 timing npm:load:timers Completed in 0ms
28 timing npm:load:configScope Completed in 0ms
29 timing npm:load Completed in 24ms
30 silly logfile start cleaning logs, removing 1 files
31 timing config:load:flatten Completed in 1ms
32 silly logfile done cleaning log files
33 timing command:run Completed in 9ms
34 verbose stack Error: Missing script: "all"
34 verbose stack
34 verbose stack Did you mean this?
34 verbose stack     npm ll # List installed packages
34 verbose stack
34 verbose stack To see a list of scripts, run:
34 verbose stack   npm run
34 verbose stack     at RunScript.run (/usr/share/nodejs/npm/lib/commands/run-script.js:98:13)
34 verbose stack     at async module.exports (/usr/share/nodejs/npm/lib/cli.js:133:5)
35 verbose cwd /root
36 verbose Linux 6.11.0-8-generic
37 verbose node v20.16.0
38 verbose npm  v9.2.0
39 error Missing script: "all"
39 error
39 error Did you mean this?
39 error     npm ll # List installed packages
39 error
39 error To see a list of scripts, run:
39 error   npm run
40 verbose exit 1
41 timing npm Completed in 54ms
42 verbose code 1
43 error A complete log of this run can be found in:
43 error     /root/.npm/_logs/2024-10-16T14_57_19_505Z-debug-0.log

bpmn-js is a library, not an application. You can use it in your application, but it’s not something that you run on its own. Check out the examples of usage at GitHub - bpmn-io/bpmn-js-examples: Examples how to use bpmn-js

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.