You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1 | (function (entry, fetcher)
^
SyntaxError: Missing 'default'exportin module '/Users/username/project-folder/node_modules/node-domexception/index.js'.
at link (:1:21)
at link (:1:21)
at link (:1:21)
at link (:1:21)
at link (:1:21)
at link (:1:21)
at link (:1:21)
at link (:1:21)
at link (:1:21)
at linkAndEvaluateModule (:1:21)
When using node v20.11.0 (npm v10.2.4)
It's seems the certificate has expired when 'npm i helia'
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
npm ERR! A complete log of this run can be found in: /Users/louis_dauvergne/.npm/_logs/2024-02-10T18_47_32_186Z-debug-0.log
Is this something wrong with bun, certificate or node-domexception package ?
Thanks for helping
The text was updated successfully, but these errors were encountered:
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?
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
The text was updated successfully, but these errors were encountered: