Skip to content

Conversation

voxparcxls
Copy link
Contributor

@voxparcxls voxparcxls commented Apr 11, 2023

  • This error is encountered when running the install modeler script outside of /modeler without elements.json
cp: ../elements.json: No such file or directory
  • This commit adds a warning to the user to run the script from inside /modeler OR have elements.json in the same directory as the modeler script.

If elements.json file is not in the same directory as install_mac_modeler.sh script, it gives a warning.

(base) MT-304569:modeler haile$ ./install_mac_modeler.sh 

Camunda Modeler Installer for Mac OS

****************************************
*************** WARNING ! **************
****************************************
+--------------------------------------+
File 'elements.json' does not exists in /Users/haile/dev_cws/common-workflow-service/install/modeler directory   
+--------------------------------------+

Run the Camunda Modeler Installer from 'modeler/' folder or copy elements.json to /Users/haile/dev_cws/common-workflow-service/install/modeler before continuing 

Installing in '/Applications' directory

*** Warning! ***  This will remove your old Camunda Modeler (if exists) and install the latest version...

Press Y to continue or N to abort. (Y/N): 

@voxparcxls voxparcxls marked this pull request as ready for review April 12, 2023 21:21
@jamesfwood jamesfwood merged commit e23745a into develop Apr 25, 2023
@jamesfwood jamesfwood deleted the IDS-9779_fix-modeler_elements branch April 25, 2023 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants