Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling the editor in settings.js breaks the dashboard #2272

Closed
5 tasks
binnes opened this issue Jul 15, 2019 · 2 comments
Closed
5 tasks

Disabling the editor in settings.js breaks the dashboard #2272

binnes opened this issue Jul 15, 2019 · 2 comments

Comments

@binnes
Copy link

binnes commented Jul 15, 2019

What are the steps to reproduce?

Set httpAdminRoot in settings.js to value of false

What happens?

Editor is no longer available on the http://localhost:1880/ URL, however the dashboard no longer shows on http://localhost:1880/ui. I just see a blank page (no http error reported on screen - though there are error in the browser JavaScript console)

ReferenceError: io is not defined
    at Object.connect (app.min.js:598)
    at Object.<anonymous> (app.min.js:597)
    at Object.invoke (app.min.js:66)
    at S.instance (app.min.js:118)
    at p (app.min.js:92)
    at g (app.min.js:85)
    at app.min.js:85
    at app.min.js:43
    at m.$eval (app.min.js:175)
    at m.$apply (app.min.js:175)
(anonymous) @ app.min.js:148

What do you expect to happen?

The editor should not be available but the dashboard should display

Please tell us about your environment:

  • Node-RED version: v0.20.7
  • node.js version: v10.16.0
  • npm version: v6.10.0
  • Platform/OS: MacOS Mojave
  • Browser: Safari, Chrome and Firefox all display same outcome
@dceejay
Copy link
Member

dceejay commented Jul 15, 2019

While provoked by the settings file I think this is a dashboard project issue...
can we move it over there ?

@knolleary knolleary transferred this issue from node-red/node-red Jul 15, 2019
@knolleary
Copy link
Member

Found the issue - in the core of node-red. Transferring this back to the other place....

@knolleary knolleary transferred this issue from node-red/node-red-dashboard Aug 21, 2019
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

No branches or pull requests

3 participants