Open koakh opened 1 year ago
@koakh What is your node version?
hello @HanielU
first: thanks for your reply and awesome repo
second: sorry for the delay, I only see this message right now
my node version is
node -v
v20.2.0
thanks but I can change for any other with nvm, just say the version that you use and I change it
if I use latest LTS like v18.16.0 it fails with other errors, for ex
@apps/server:dev: Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: /mnt/storage/Development/Svelte/SvelteKit/SvelteKitPayloadCMSTRPCTurborepo/sk-trpc-payload/apps/server/src/trpc/router.mts
@apps/server:dev: require() of ES modules is not supported.
thanks
UPDATE: I think I fix it in node v18.16.0 project is already running, I made some changes to work with *nix, because the original project are to tied to windows, and we must change some things to work
I can make some notes of the changes and send or make a PR but first I must test project and clean some things to have only the changes that are useful
@koakh That's fine if you can make a PR
My node version
node -v
v18.12.1
Any update on this? I'm facing the same issue and would like to know how to resolve it.
What problem do you have, This one? TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".mts"
In my case, I solve it using
node -v v18.12.1
Like it was reported above, if you have any other problem, please specify it
when run project it gives bellow error on server any clue on how to solve it
awesome repo starter budie
thanks