Git Product home page Git Product logo

dirigera-web's Issues

Does not work when Starkvind Air Purifier is present

Title says it all. I have a Starkvind Air Purifier in my Tradfri Setup and this leads to an error because the enum does not know it (accessorytype is 10 for the air purifier). I already tried updating node-tradfri-client and adding it to the code of tradfri-web-ui, but it seems to be not that easy as I now have another error.

Version number

It would be nice and useful to have the version number somewhere on the homepage.
Thanks
Aldo

Cannot start container

Hi! I'm trying to run the container through Portainer stacks, this is my configuration

version: "3"

services:
  dirigera-web:
    image: ghcr.io/lpgera/dirigera-web
    container_name: DirigeraWeb
    env_file: stack.env
    ports:
      - "4000:4000"
    #restart: unless-stopped

(stack.env is what Portainer calls the .env for a stack)

This is how the .env is populated
image

When I run it, I cannot access it at port 4000 because it's just crashing, this is the log output I get

start
npm run start -w backend
start
node -r dotenv/config dist/index.js dotenv_config_path=../.env
node:internal/modules/cjs/loader:1152
throw err;
^
Error: Cannot find module '/usr/src/app/backend/dist/index.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1149:15)
at Module._load (node:internal/modules/cjs/loader:990:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v21.6.0
npm ERR! Lifecycle script start failed with error:
npm ERR! Error: command failed
npm ERR! in workspace: backend
npm ERR! at location: /usr/src/app/backend

Is there anything I'm doing wrong? Thanks!

run build error

Error starting from scratch, mode "Running with Node.js natively":

npm run build

build
npm run build -ws

build
swc src -d dist --strip-leading-paths

Bus error (core dumped)
npm error Lifecycle script build failed with error:
npm error Error: command failed
npm error in workspace: backend
npm error at location: /home/domoticz/dirigera-web/backend

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.