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

Can't edit VIS - No Connection #21

Open
NoelzeN opened this issue Oct 24, 2017 · 3 comments
Open

Can't edit VIS - No Connection #21

NoelzeN opened this issue Oct 24, 2017 · 3 comments

Comments

@NoelzeN
Copy link

NoelzeN commented Oct 24, 2017

I installed node, npm, node-red, iobroker.vis and node-red-vis (iobroker.vis was required to be able to install node-red-vis).
Versions are:
Nodejs v6.11.3
npm 3.10.10
[email protected]
[email protected]

For the iobroker.vis I get this:
├── [email protected]
├─┬ [email protected]
│ └── [email protected] extraneous
└─┬ [email protected]
└── [email protected]

OS is CentOS 7.

When I navigate to 192.168.0.91:1880 I get the Node Red Flows view and can add a vis node. However once I navigate to 192.168.0.91:1880/vis/edit.html as suggested in the documentation I get a blank screen with the label "No Connection". In the debug console, I see some errors:

ReferenceError: jQuery is not defined
http://192.168.0.91:1880/vis/lib/js/jquery.fancytree-all.min.js
Line 8

TypeError: t is undefined
http://192.168.0.91:1880/vis/lib/js/can.custom.min.js
Line 28

ReferenceError: $ is not defined
http://192.168.0.91:1880/vis/js/visEditInspect.js
Line 72

Am I doing something wrong? Thanks a lot in advance, if I shall share more information please let me know

@ly1hex
Copy link

ly1hex commented Nov 8, 2017

:)
fix it

clone
git clone https://github.com/GermanBluefox/node-red-vis.git
cd node-red-vis
npm install

next install in node-red

cd node-red
npm install /patch/to/node-red-vis

restart node-red

@FelixLTS
Copy link

FelixLTS commented Apr 4, 2018

Hey, i just wanted to ask if you could explain exactly how to fix this again (im a total noob) and if its even possible with my specs because my coworker said this won't run on debian stretch.

pi@raspberrypi:/etc $ cat os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian

Linux raspberrypi 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l GNU/Linux

thanks in advance :)
Felix

@GermanBluefox
Copy link
Owner

GermanBluefox commented Apr 4, 2018 via email

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

4 participants