networkmaps icon indicating copy to clipboard operation
networkmaps copied to clipboard

Blank Page after installation

Open igoryonya opened this issue 3 years ago • 0 comments

Describe the bug After installation on the clean machine, configuring the config.json file, launching the server.js, and loaging the page, I get the blank page.

To Reproduce Steps to reproduce the behavior:

  1. Install: sudo su curl -fsSL https://deb.nodesource.com/setup_17.x | sudo -E bash - apt-get install -y nodejs git clone https://github.com/pablomarle/networkmaps.git
  2. Configure: nano /etc/networkmaps/config.json {    "socket": {        "address": "192.168.0.200",        "port": 3000    },    "sendmail": {        "server": "192.168.0.100",        "port": 587,        "is_secured": false,        "user": "[email protected]",        "password": "pass",        "from": "[email protected]"    } }
  3. mkdir -vp '/var/lib/networkmaps/users' '/var/lib/networkmaps/diagrams' '/var/lib/networkmaps/sendmail/queue' '/var/lib/networkmaps/sendmail/sent' '/var/lib/networkmaps/shapes'
  4. cd networkmaps/
  5. Starting the server: ./server.js ` Config file read from default (/etc/networkmaps/config.json) Use '--config <path_to_cfg_json>' to change config file location. Configuration file read.

If you like NetworkMaps, consider making a small donation :)

Server running at http://192.168.0.200:3000/ 6. Loading url in FireFox 97: http://192.168.0.200:3000/ And get an empty page, that has a source code:

Network Maps`

Expected behavior Loading the app.

Desktop (please complete the following information):

  • OS: Ubuntu 20.04.3 LTS (Linux netdisco-perl-lubunt 4.4.0-166-generic #195-Ubuntu SMP Tue Oct 1 09:35:25 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux)
  • Browser: FireFox 97.0 (64-bit)
  • Version: Cloned the repo today

igoryonya avatar Feb 21 '22 09:02 igoryonya