Thanks for filling out this bug report. Please provide as much detail as possible.
If your issue is with our RPC APIs and not the SDK please report your issue on (discord)[https://alchemy.com/discord].
[REQUIRED] Environment
Browser version: not in browser
AA SDK version: 3.12.0
Package: aa-alchemy
[REQUIRED] Describe the problem
Error: No “exports” main defined in ~/node_modules/typescript-cookie/package.json
at new NodeError (node:internal/errors:406:5)
at exportsNotFound (node:internal/modules/esm/resolve:268:10)
at packageExportsResolve (node:internal/modules/esm/resolve:542:13)
at resolveExports (node:internal/modules/cjs/loader:547:36)
at Function.Module._findPath (node:internal/modules/cjs/loader:621:31)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1034:27)
at Function.Module._load (node:internal/modules/cjs/loader:901:27)
at Module.require (node:internal/modules/cjs/loader:1115:19)
at require (node:internal/modules/helpers:130:18)
at Object. (~/node_modules/@alchemy/aa-alchemy/src/config/utils/cookies.ts:1:1)
Thanks for filling out this bug report. Please provide as much detail as possible.
If your issue is with our RPC APIs and not the SDK please report your issue on (discord)[https://alchemy.com/discord].
[REQUIRED] Environment
[REQUIRED] Describe the problem
Error: No “exports” main defined in ~/node_modules/typescript-cookie/package.json at new NodeError (node:internal/errors:406:5) at exportsNotFound (node:internal/modules/esm/resolve:268:10) at packageExportsResolve (node:internal/modules/esm/resolve:542:13) at resolveExports (node:internal/modules/cjs/loader:547:36) at Function.Module._findPath (node:internal/modules/cjs/loader:621:31) at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1034:27) at Function.Module._load (node:internal/modules/cjs/loader:901:27) at Module.require (node:internal/modules/cjs/loader:1115:19) at require (node:internal/modules/helpers:130:18) at Object. (~/node_modules/@alchemy/aa-alchemy/src/config/utils/cookies.ts:1:1)
How to reproduce:
Relevant tsconfig
"compilerOptions": { "module": "commonjs", "resolveJsonModule": true, "esModuleInterop": true, "declaration": true, "removeComments": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "allowSyntheticDefaultImports": true, "target": "ES2021", "sourceMap": true, "outDir": "./dist", "baseUrl": "./", "incremental": true, "skipLibCheck": true, "strictNullChecks": false, "noImplicitAny": false, "strictBindCallApply": false, "forceConsistentCasingInFileNames": false, "noFallthroughCasesInSwitch": false }
Relevant code or sample repro: