Giter VIP home page Giter VIP logo

fleet-management's People

Contributors

comboro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

fleet-management's Issues

Error:Cannot find module fleet-management/fleet-management-main/packages/backend/dist/boot.js

I got the following error when I run start.sh. The error is on the backend side. I think there is no problem with frontend and BLE server side. Only on backend.

starting backend...

@fleet-management/[email protected] start
node dist/boot.js

node:internal/modules/cjs/loader:936
throw err;
^

Error: Cannot find module '/Users/selimbayhan/evcc/fleet-management/fleet-management-main/packages/backend/dist/boot.js'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
npm ERR! Lifecycle script start failed with error:
npm ERR! Error: command failed
npm ERR! in workspace: @fleet-management/[email protected]
npm ERR! at location: /Users/selimbayhan/evcc/fleet-management/fleet-management-main/packages/backend

Connection is not replacing

When connection is closed on shelly device side for some reason such as power outage. Server side code does not replace the new incoming connection so the code writes duplicate values to the database. I think there is a code for replacing new connection with the old one but it is not working.

            logger.info('There is already existing websocket connection for this device. Replacing. shellyID:[%s]', shellyID);
            found.setTransport(new WebSocketTransport(ws));
            found.status = message.params;

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.