Replies: 3 comments 4 replies
-
|
Matter.js should configure crypto automatically for your runtime if possible. If you're on node.js, what version? How are you launching matter.js code? |
Beta Was this translation helpful? Give feedback.
-
|
OK, I ran the example script as it sits in the repository and it works. I had copied the file to a different location for ease of access. So there is something different about the example repository and a standalone execution. Will continue to investigate. |
Beta Was this translation helpful? Give feedback.
-
|
OK, facepalm moment. My packages were actually: It's amazing the time that '^' and '~' can waste, even for people who should know better :D |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been looking around and I'm struggling to figure out what I need to do to get the latest version of the controller working. I updated and now I see the error mentioned in the title. What am I missing?
I've tried Node 20.18.1, 22.12.0, and 24.4.1 all with the same results.
I'm using packages:
@matter/main: 0.15.3
@matter/node: 0.15.3
@matter/nodejs-ble: 0.15.3
@project-chip/matter.js: 0.15.3
This happens in my project as well as the controller example in the repo. My project setup is somewhat involved using NX and Nest. But to test the example I am just using: npx tsx matter-example.ts. Both setups produce the same error. What is strange is that if I leave out the environment when instantiating a ComissioningController the Crypto error disappears. So instead of
I just instantiate with:
The Crypto error is replaced with:
[implementation] Initialization not done. Add the controller to the MatterServer first.Beta Was this translation helpful? Give feedback.
All reactions