tagyoureit / nodejs-poolController-webClient

Web app for nodejs-poolController 6.0 and above.
GNU Affero General Public License v3.0
9 stars 4 forks source link

Warnings on install, then loops "restarting search" #15

Closed dkossman closed 3 years ago

dkossman commented 3 years ago

I installed the peer dependency react@~16.12.0 but still get the warning that its not installed. Also get a warning that an earlier version is not installed?

config.json:

{
  "discovery": {
    "override": {
      "protocol": "http",
      "host": "localhost",
      "port": 4200
    },
    "useSSDP": true,
    "poolURL": "http://localhost:4200"
  },
  "web": {
    "port": 9080
  },
  "options": {
    "hidePanels": [
    ],
    "debug": false
  },
  "chemController": {
  }
}

terminal session:

(did git pull)

pi@ospi:~/nodejs-poolController-webClient $ sudo npm install -g react@~16.12.0
+ react@16.12.0
added 6 packages from 3 contributors in 19.739s

pi@ospi:~/nodejs-poolController-webClient $ npm install && npm start
npm WARN react-horizontal-stacked-bar-chart@8.15.2 requires a peer of react@~16.12.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-rangeslider@2.2.0 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN recompose@0.22.0 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN nodejs-poolcontroller-webclient@6.1.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})

audited 1947 packages in 576.501s

47 packages are looking for funding
  run `npm fund` for details

found 394 vulnerabilities (307 low, 4 moderate, 83 high)
  run `npm audit fix` to fix them, or `npm audit` for details

> nodejs-poolcontroller-webclient@6.1.0 start /home/pi/nodejs-poolController-webClient
> npm run cleanup && npm run build && npm run start:cached

> nodejs-poolcontroller-webclient@6.1.0 cleanup /home/pi/nodejs-poolController-webClient
> rimraf dist

> nodejs-poolcontroller-webclient@6.1.0 build /home/pi/nodejs-poolController-webClient
> tsc && npm run build:parcel

> nodejs-poolcontroller-webclient@6.1.0 build:parcel /home/pi/nodejs-poolController-webClient
> parcel build --public-url . web/dashboard/index.html --out-dir dist/web

✨  Built in 137.36s.

dist/web/app.c5a3ae77.js.map                ⚠️  3.12 MB     16.85s
dist/web/app.c5a3ae77.js                    ⚠️  1.16 MB    106.47s
dist/web/record.14384621.gif                  82.47 KB      4.74s
dist/web/Tank-6.49cc4042.png                  34.41 KB      3.58s
dist/web/Tank-2.e5f2cd9f.png                  33.79 KB      3.60s
dist/web/Tank-3.1403116b.png                  33.61 KB      3.60s
dist/web/Tank-5.081a2bbd.png                  32.76 KB      3.59s
dist/web/Tank-1.049e87d5.png                  32.75 KB      3.62s
dist/web/Tank-4.835af63d.png                  32.54 KB      3.59s
dist/web/Tank-0.69dc401a.png                  32.34 KB      3.62s
dist/web/app.747e1315.css.map                 28.63 KB      655ms
dist/web/app.747e1315.css                     16.13 KB     70.07s
dist/web/snowflake.157040aa.png                2.12 KB      2.65s
dist/web/edit.723126a7.png                     1.73 KB      1.76s
dist/web/flame.8f39eaf0.png                    1.63 KB      4.72s
dist/web/poolController.3ec36e3d.css.map       1.56 KB      300ms
dist/web/play-icon.40f5a160.svg                 1018 B      4.06s
dist/web/poolController.3ec36e3d.css             658 B      681ms
dist/web/index.html                              598 B      566ms
dist/web/info-blue-bg.85aaa3f4.svg               328 B      4.06s
dist/web/delete.10684503.svg                     251 B      1.77s

> nodejs-poolcontroller-webclient@6.1.0 start:cached /home/pi/nodejs-poolController-webClient
> env NODE_ENV=production node dist/Server.js

path: /home/pi/nodejs-poolController-webClient/config.json
restarting search
restarting search
restarting search
restarting search
dkossman commented 3 years ago

hang on - ignore this for now - updated poolcontroller to 6.1 and just realized i didn't restore config.json. will correct this and re-test later today

dkossman commented 3 years ago

all good after correcting pool controller json. it had the default IP's of 0.0.0.0. sorry about the false alarm.

tagyoureit commented 3 years ago

Those react warnings are just due to some outdated dependencies and can be ignored. Glad you got it working again.