Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error During Build Phase in Backend Folder #14

Open
boyskila opened this issue Dec 30, 2024 · 1 comment
Open

Error During Build Phase in Backend Folder #14

boyskila opened this issue Dec 30, 2024 · 1 comment

Comments

@boyskila
Copy link

boyskila commented Dec 30, 2024

Hi, and thank you for the template! It's really useful and saves a ton of work.

During the build phase in the backend folder, an error is thrown related to the TypeScript module resolution.

Steps to Reproduce

  1. Navigate to the backend folder.
  2. Run the build command npm run build
  3. Observe the error related to TypeScript module resolution.

image

Expected Behavior

The build process completes successfully without any errors.

Possible solution

Setting the module property to Node16 in the tsconfig.json file may resolve the issue.

@rpuls
Copy link
Owner

rpuls commented Jan 3, 2025

Hi @boyskila
Are you on the latest version? I fixed some complaints recently with this commit: bc4757a

Please check that your tsconfig is up to date.

If it says "moduleResolution": "node" simply change that to "node16"

Let me know if this solves your issue ✌️

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants