seydx / camera.ui

NVR like user Interface for RTSP capable cameras
https://github.com/seydx/camera.ui
MIT License
652 stars 102 forks source link

Can not start Camera.ui #403

Open lio00lio opened 1 year ago

lio00lio commented 1 year ago

Describe the bug I had installed a new container in proxmox for install camera.ui To Reproduce run the command camera.ui

Expected behavior A clear and concise description of what you expected to happen.

Logs `/usr/local/lib/node_modules/camera.ui/bin/camera.ui.js:5 import fs from 'fs-extra'; ^^

SyntaxError: Unexpected identifier at Module._compile (internal/modules/cjs/loader.js:723:23) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Function.Module.runMain (internal/modules/cjs/loader.js:831:12) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)` Screenshots image

Environment

StefCoders commented 1 year ago

I cant start aswell. I get this error ``

file:///usr/local/lib/node_modules/camera.ui/src/services/logger/logger.service.js:91 if (logger?.log) { ^

SyntaxError: Unexpected token '.' at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18) ``

LucasoDevDotTk commented 1 year ago

I recently had this issue as well, and I found out that this is because of an older installation of node and npm.

How to fix:

  1. Install the stable version of node: sudo snap install node --classic --stable
  2. Install npm (version greater than 16): sudo npm install n -g sudo n stable

This should fix the issue.

mkz212 commented 1 month ago

🎉 A new version of camera.ui

A new version of camera.ui is currently under active development. An initial alpha/beta release and previews are coming soon. Stay tuned for exciting updates: https://github.com/seydx/camera.ui/issues/448 .

This version will no longer be developed / fixed. The new version contains many novelties and fixes (most important is for HKSV recording).