Thingsboard Not building from Source

I have a new ubuntu 16.04 virtual machine that I am trying to install thingsboard when using this documentation Introductory Guide and is not successful:

This is what was done on the machine:

  • sudo apt-get install default-jre default-jdk
  • Export JAVA_HOME='/usr/lib/jvm/default-java'
  • git clone https://github.com/thingsboard/thingsboard.git
  • git checkout release-1.3
  • cd ${TB_WORK_DIR}/application
  • mvn clean install -DskipTests
  • Modified cd ${TB_WORK_DIR}/application/target/bin/install/install_dev_db.sh for my user and executed script.
    I would like to use HSQLDB at the moment.
  • cd ${TB_WORK_DIR}/application
  • mvn clean install -DskipTests

Results:

The NPM server starts, but when I log in to localhost:3000 and try to log in using tenant@thingsboard.org / tenant , I get an error message

 [Error API proxy error: Error connect ECONNREFUSED 127.0.0.1:8080] 

I checked three times that I did not have a typo.

Am I missing a step?

I do not use a proxy server and got the same error as above:

npm config set proxy null npm config set https-proxy null npm config npm config set registry http://registry.npmjs.org/

cat ~ / .npmrc:

proxy=null https-proxy=null registry=http://registry.npmjs.org/ls

+5
source share
1 answer

As you noted, this is the same as the problem with table / table 336 ... with a single end:

I think you need the backend to work in order to be able to enter.

Or you are for a proxy

 npm config set proxy http://myproxyblabla:myport npm config set https-proxy http://myproxyblabla:myport 

Or you are not , that is, your localhost system for Android should not use a proxy server at all:

 npm config set proxy null npm config set https-proxy null 

In both cases:

 npm config set registry http://registry.npmjs.org/ 

Then try to restart the server and log in again.

0
source

Source: https://habr.com/ru/post/1273010/


All Articles