GermanBluefox / node-red-vis

Web visualisation for node-red.
Other
15 stars 7 forks source link

Can't edit VIS - No Connection #21

Open NoelzeN opened 6 years ago

NoelzeN commented 6 years ago

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 node-red@0.17.5 node-red-vis@0.4.2

For the iobroker.vis I get this: ├── iobroker.vis@1.0.4 ├─┬ node-red@0.17.5 │ └── iobroker.vis@1.0.4 extraneous └─┬ node-red-vis@0.4.2 └── iobroker.vis@0.10.15

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 commented 6 years ago

:) 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 commented 6 years ago

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 commented 6 years ago

I must confess, I have no time to maintain this project. I suggest you to install iobroker. It has built in node-red and vis.

ср, 4 апр. 2018 г., 16:05 FelixLTS notifications@github.com:

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

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GermanBluefox/node-red-vis/issues/21#issuecomment-378611770, or mute the thread https://github.com/notifications/unsubscribe-auth/AEXqgMJRJtfipPTAHaIsqFfMmgDUUt-qks5tlNM-gaJpZM4QEAVs .