milanmdev / whisker-private-api Goto Github PK
View Code? Open in Web Editor NEWAn API to expose a Ting sensor's information for use Home Assistant
License: MIT License
An API to expose a Ting sensor's information for use Home Assistant
License: MIT License
If I assign a static IP to this container in Unraid it starts fine on that IP/Port. But if I go and restart or stop/start the container it returns this error:
`node:internal/errors:563
ErrorCaptureStackTrace(err);
^
Error: listen EADDRINUSE: address already in use /tmp/tsx-0/34.pipe
at Server.setupListenHandle [as _listen2] (node:net:1855:21)
at listenInCluster (node:net:1920:12)
at Server.listen (node:net:2025:5)
at file:///build/node_modules/tsx/dist/cli.mjs:53:31317
at new Promise ()
at yn (file:///build/node_modules/tsx/dist/cli.mjs:53:31295)
at async file:///build/node_modules/tsx/dist/cli.mjs:55:459 {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '/tmp/tsx-0/34.pipe',
port: -1
}
Node.js v20.11.0
error Command failed with exit code 1.
yarn run v1.22.19
$ tsx ./src/index.ts
[LAUNCHED] Whisker Private API launched at http://localhost:8080
yarn run v1.22.19
$ tsx ./src/index.ts
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.`
It seems like the IP/Port is not being released properly when the container shuts down?
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
This repository currently has no open or pending branches.
docker-compose.example.yml
Dockerfile
package.json
cors ^2.8.5
dotenv ^16.3.1
express ^4.17.1
node-fetch ^3.3.2
@types/cors ^2.8.13
@types/express ^4.17.17
gts ^5.0.0
tsx ^4.7.1
typescript ^5.1.6
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.