Closed LouiFi closed 7 months ago
npm ERR! code CERT_HAS_EXPIRED
npm ERR! errno CERT_HAS_EXPIRED
npm ERR! request to https://registry.npm.taobao.org/helia failed, reason: certificate has expired
This is the certificate of the registry at https://registry.npm.taobao.org
- this is not the default registry which is https://registry.npmjs.org
so you've overridden it in your config at some point.
Please can you try with the default registry.
SyntaxError: Missing 'default' export in module`
What happens when you run this with the latest node and not bun?
Thank you it's working like a charm with node --lts (without bun 😢 🐇)
I did not expect any PR related to bun so I will go back with tsc
so !
There's a work-in-progress example PR for running with bun - we're waiting for a few dependencies to update, notably bun itself to support Windows.
Keep an eye on this, it should start working soon - https://github.com/ipfs-examples/helia-examples/pull/101
Hi,
I was just trying to perform the json example :
index.ts
bun add @helia/json
bun run index.ts
When using node v20.11.0 (npm v10.2.4)
It's seems the certificate has expired when 'npm i helia'
Is this something wrong with bun, certificate or node-domexception package ?
Thanks for helping