Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Typescript error on running /server: Expected string to be returned for the "format" from the "loader getFormat" function #2

Open
MartinDM opened this issue Dec 20, 2021 · 2 comments

Comments

@MartinDM
Copy link

Bonnie,

I'm tying to run this repo but still running into an issue unfortunately.
I have the following error when tryig to run npm run start

image

I have ran npm i and have an .env file but not able to start the server? Does the above look familiar; any tips to get this running?

Thank you
Martin

@bonnie
Copy link
Owner

bonnie commented Dec 20, 2021

Hi, Martin --

Thanks for submitting this issue! Using ts-node is kind of janky, and is probably causing the issue. I will update this repo with the next day or two to use babel instead. If you want to see how I updated a different repo to use babel instead of ts-node, see this PR: bonnie/udemy-REACT-QUERY#3

Cheers,
Bonnie

@bonnie
Copy link
Owner

bonnie commented Dec 24, 2021

Hi, Martin --

I updated this repo to use babel instead of ts-node. Let me know if you're still seeing issues!

Cheers,
Bonnie

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

No branches or pull requests

2 participants