camera.ui icon indicating copy to clipboard operation
camera.ui copied to clipboard

Can not start Camera.ui

Open lio00lio opened this issue 2 years ago • 3 comments

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

  • Node.js Version: v10.19.0
  • Camera UI Version: v1.1.17
  • Operating System: ubuntu 20.04
  • Browser: NA/NA

lio00lio avatar Apr 05 '23 14:04 lio00lio

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) ``

StefCoders avatar Apr 19 '23 18:04 StefCoders

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.

lucasod3v avatar Apr 30 '23 16:04 lucasod3v

🎉 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).

mkz212 avatar Jul 29 '24 09:07 mkz212