alchemyplatform / alchemyplatform/aa-sdk

Error [ERR_REQUIRE_ESM]: require() of ES Module

Open
#907 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
321
Forks
231
Avg merge
43m
Merged PRs (30d)
3

Description

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:
  • AA SDK version: 3.13.0
  • Package: @alchemy/aa-alchemy
  • Node Version: v18.17.0
  • NPM Package: 9.6.7
[REQUIRED] Describe the problem

When I try to run my Node Js server, I get an error. I Have uploaded the screenshot.
image

How to reproduce:
  • Whenever I run my server, I get the error
npm run dev
Relevant code or sample repro:

User Op Code

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked gist and reproducing the failure with npm run dev under Node v18.17.0 and @alchemy/aa-alchemy 3.13.0. The issue does not identify a source file, stack trace, or expected behavior, so first determine the failing import and establish a precise reproduction before defining what done means.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.