jdmg94 / hue-sync Goto Github PK
View Code? Open in Web Editor NEWA library for the Phillips Hue Clip API v2 written in Typescript
License: Apache License 2.0
A library for the Phillips Hue Clip API v2 written in Typescript
License: Apache License 2.0
Hey
I'm trying to use this package in a Vue 3.0 web app.
Unfortunately, after installing it, vite complains when building with the following errors:
✘ [ERROR] Could not resolve "node-aead-crypto"
node_modules/node-dtls-client/build/lib/AEADCrypto.js:55:54:
55 │ ({ ccm: importedCCM, gcm: importedGCM } = require("node-aead-crypto"));
╵ ~~~~~~~~~~~~~~~~~~
You can mark the path "node-aead-crypto" as external to exclude it from the bundle, which will
remove this error. You can also surround this "require" call with a try/catch block to handle this
failure at run-time instead of bundle-time.
I've tried installing node-aead-crypto
but it fails with:
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '>4 <10' },
npm WARN EBADENGINE current: { node: 'v16.17.0', npm: '8.15.0' }
npm WARN EBADENGINE }
npm ERR! code 1
npm ERR! path /home/.../node_modules/node-aead-crypto
npm ERR! command failed
npm ERR! command sh /tmp/preinstall-97cd58ba.sh
npm ERR! node-aead-crypto not needed on this system, since all ciphers are natively supported
I've tried forcing it but that only removes the warning.
Any idea how to fix this?
Hello, thank you for this work!
I'd like to couple this together with hyperion, it can export a colorvalue live feed to a file.
Do you think this is possible? Is there a example script somewhere? I cannot get this to run with plain node :/
I get
Argument of type 'number[][]' is not assignable to parameter of type '[number, number, number][]'
when I try the example for the gradient (multi channel)
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.