Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Can't run on windows 10: "Not allowed to load local resource" #73

Closed
CS-Jfilmer opened this issue Mar 24, 2019 · 5 comments · Fixed by #84
Closed

Can't run on windows 10: "Not allowed to load local resource" #73

CS-Jfilmer opened this issue Mar 24, 2019 · 5 comments · Fixed by #84
Labels

Comments

@CS-Jfilmer
Copy link

CS-Jfilmer commented Mar 24, 2019

Steps

  • Download zeebe modeler 0.6.2
  • Unpack
  • Attempt to run Zeebe Modeler.exe

2019-03-25 08_50_14-index js - zeebe-modeler - Visual Studio Code

  • Tried running as admin

Environment

  • OS: Windows 10
  • Zeeber Modeler Version: [e.g. 0.6.2-win-64]

Depends on #79

@CS-Jfilmer CS-Jfilmer changed the title Not allowed to load local resource Can't run on windows 10: "Not allowed to load local resource" Mar 24, 2019
@CS-Jfilmer
Copy link
Author

Figured it out, if you have NODE_ENV as "development" then running the exe will fail. Makes using the modeler on a development machine a little tricky

@nikku
Copy link
Contributor

nikku commented Apr 24, 2019

You may unset the environment variable before running the app.

Works like this on Linux, not sure about Windows though:

NODE_ENV= camunda-modeler

@nikku
Copy link
Contributor

nikku commented Apr 24, 2019

Generally speaking you should probably avoid making NODE_ENV a global variable.

On windows for example cross-env can help you to inject the variable only when required:

cross-env NODE_ENV=production node server.js

@nikku
Copy link
Contributor

nikku commented Apr 24, 2019

Closed in favor of camunda/camunda-modeler#1352.

@nikku
Copy link
Contributor

nikku commented Apr 26, 2019

Fixed upstream in camunda-modeler@3.1.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants