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
Error: 'fromMiliseconds' is not exported by node_modules/@walletconnect/time/dist/cjs/index.js, imported by node_modules/@walletconnect/relay-auth/dist/esm/api.js
#134
Open
CherryDT opened this issue
Sep 12, 2023
· 1 comment
[!] Error: 'fromMiliseconds' is not exported by node_modules/@walletconnect/time/dist/cjs/index.js, imported by node_modules/@walletconnect/relay-auth/dist/esm/api.js
https://rollupjs.org/guide/en/#error-name-is-not-exported-by-module
node_modules/@walletconnect/relay-auth/dist/esm/api.js (3:9)
1: import * as ed25519 from "@stablelib/ed25519";
2: import { randomBytes } from "@stablelib/random";
3: import { fromMiliseconds } from "@walletconnect/time";
^
4: import { JWT_IRIDIUM_ALG, JWT_IRIDIUM_TYP, KEY_PAIR_SEED_LENGTH, } from "./constants";
5: import { decodeIss, decodeJWT, encodeData, encodeIss, encodeJWT, } from "./utils";
Error: 'fromMiliseconds' is not exported by node_modules/@walletconnect/time/dist/cjs/index.js, imported by node_modules/@walletconnect/relay-auth/dist/esm/api.js
at error (/mnt/c/Users/user/proj/myproject/node_modules/rollup/dist/shared/rollup.js:198:30)
at Module.error (/mnt/c/Users/user/proj/myproject/node_modules/rollup/dist/shared/rollup.js:12555:16)
at Module.traceVariable (/mnt/c/Users/user/proj/myproject/node_modules/rollup/dist/shared/rollup.js:12914:29)
at ModuleScope.findVariable (/mnt/c/Users/user/proj/myproject/node_modules/rollup/dist/shared/rollup.js:11566:39)
at FunctionScope.findVariable (/mnt/c/Users/user/proj/myproject/node_modules/rollup/dist/shared/rollup.js:6486:38)
at Identifier.bind (/mnt/c/Users/user/proj/myproject/node_modules/rollup/dist/shared/rollup.js:7553:40)
at CallExpression.bind (/mnt/c/Users/user/proj/myproject/node_modules/rollup/dist/shared/rollup.js:5383:23)
at CallExpression.bind (/mnt/c/Users/user/proj/myproject/node_modules/rollup/dist/shared/rollup.js:9049:15)
at AssignmentPattern.bind (/mnt/c/Users/user/proj/myproject/node_modules/rollup/dist/shared/rollup.js:5383:23)
at FunctionDeclaration.bind (/mnt/c/Users/user/proj/myproject/node_modules/rollup/dist/shared/rollup.js:5379:73)
The text was updated successfully, but these errors were encountered: