Comments (10)
waiting answer
from bpmn-js-examples.
Can you please give some more context? Is this the properties-panel example? What are the steps to reproduce this?
from bpmn-js-examples.
have already been solved 。 ths.
from bpmn-js-examples.
hi,
Can you tell how this was resolved? I have the exact same problem when I try to run grunt in the properties example with bpmn-js included locally instead via npm. The build from bpmn.js git repo is not the same as the one via npm. Why is that?
from bpmn-js-examples.
The build from bpmn.js git repo is not the same as the one via npm. Why is that?
What exactly do you do?
from bpmn-js-examples.
hi, thanks for the quick reply. I am basically trying out the properties panel example:
https://github.com/bpmn-io/bpmn-js-examples/tree/master/properties-panel and instead of using bpmn-js by node, I point it to a local setup with npm link. The linked setup is basically just : https://github.com/bpmn-io/bpmn-js/blob/master/docs/project/SETUP.md . so I have a standard dev setup being pointed at which works by itself. however when running npm run all I get:
Running "browserify:app" (browserify) task
Error: Couldn't find preset "env" relative to directory "/home/vincent/develop/bpmn-js" while parsing file: /home/vincent/develop/bpmn-js/lib/Viewer.js
Warning: Error running grunt-browserify. Use --force to continue.
I looked into the package.json file from the prepackaged bpmn-js that npm slurps in, it has lines for script tasks. I think I need to somehow 'browserify' the bpmn-js project? I can't find it documented, any help is greatly appreciated.
from bpmn-js-examples.
This is a limitation of npm link
. You must install the dependency in your local bpmn-js
.
from bpmn-js-examples.
Can you be more specific? I did an npm install in both directories. I have the same issue using the bundle example.
from bpmn-js-examples.
cd bpmn-js
npm install --save-dev babel-preset-env
npm link
cd example
npm link bpmn-js
from bpmn-js-examples.
Thanks, works like a charm :). Perhaps good to note that somewhere in the dev setup guide? I'm new to this stack and I wasn't able to figure this out easily. Thank you for the help and quick response.
from bpmn-js-examples.
Related Issues (20)
- Add example for creating properties panel list groups
- Unable to render custom component in Properties Panel HOT 2
- the command "npm run dev" was not available, because the node not created an acess path ,such as "http://localhost:5000", after i executed npm install and npm run dev,maybe it`s a bug. HOT 6
- Problems trying to render "custom" react components inside the Properties Panel HOT 2
- Unable to place Pool/Participant HOT 10
- Custom Properties Panel of bpmn HOT 2
- Please add keyboard bindTo: window to the modeler example HOT 1
- bpmn-properties example appears to be missing HOT 1
- Task/Bugfix: Update "diagram-js": to "^8.9.0" in `modeler` example. HOT 1
- ERESOLVE overriding peer dependency HOT 1
- Loader when compiling Spell HOT 12
- properties panel example should work without JSX HOT 6
- TypeError while trying to add a custom property to Service Tasks HOT 1
- adding new connector and draw it with 'CHANGE ELEMENT' HOT 2
- Add a more simple example HOT 4
- add listGroup to properties-panel in Camunda HOT 3
- Turn into a workspace HOT 2
- An error occurred using Viewer: No Provider for "commandStack" HOT 2
- BPMN modeler example is missing dependencies HOT 1
- Create a testing example HOT 1
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 bpmn-js-examples.