Absolutely awful instalation!@! (bpmn-js-properties-panel)

Hi i want to extend my site with bpmn-features.

I`m not nodeJS developer at all !

firstly i install those:

and it work perfectly

except one little detail - i need also edit-panel

Those:

And it not working, i spend a lot of time trying different aproaches and in result i got: completly nothing.


    <script>

      var diagramUrl = '/bpmn/diagram.bpmn';
	  
		// import propertiesPanelModule from 'bpmn-js-properties-panel';
		// import propertiesProviderModule from 'bpmn-js-properties-panel/lib/provider/camunda';
		// import camundaModdleDescriptor from 'camunda-bpmn-moddle/resources/camunda.json';
		
		// var propertiesPanelModule = require('bpmn-js-properties-panel'),
		// propertiesProviderModule = require('bpmn-js-properties-panel/lib/provider/camunda'),
		// camundaModdleDescriptor = require('camunda-bpmn-moddle/resources/camunda');

	// ...

NPM = says they want load 3Gb of sources WHY???
WHY???

Why i need install 3gb of nodeJs sources??? why i cant write just somethong like this:

<script src="https://unpkg.com/bpmn-js@8.2.0/dist/bpmn-js-properties-panel.js"></script>

it`s absolutely awfull, it cant work after many hourses of trying install this./
i didnt know how to make its works ^(((((((((((((((((((

image

image

What happened here? i can use it or not?

Oh my god!!!

After another long horses of chaos and terror, it working fine:

npm install
npm run all

i cant believe it !!! it`s happened!!!

1 Like

Glad to hear it’s working for you now :heart:

We are sad to see you had problems while installing one of our packages. We will take this into our Issues and see whether we can reproduce it and how to improve things.

2 Likes