navneetsharmaui/sveltekit-starter

Upgrade to latest version of svelte

yustarandomname opened this issue · 6 comments

Describe the solution you'd like

Due to the recent changes with svelte mentioned here, this template needs an update to support the breaking changes.

Main developer Rich Harris has created a guide to upgrade a repo to the newest stadards: sveltejs/kit#5774

Work in progress on PR #51

The issue had been stale for a long time. Closing the issue for now. You can reopen the issue.

I am getting this error..

PS C:\Users\rezam\codespace\sveltekit-starter> npm run dev

sveltekit-starter@1.0.0 dev
npm run check-env && npm run dev:sveltekit

sveltekit-starter@1.0.0 check-env
node --loader ts-node/esm scripts/js/check-env.ts

(node:32140) ExperimentalWarning: Custom ESM Loaders is an experimental feature and might change at any time
(Use node --trace-warnings ... to show where the warning was created)
Error [ERR_LOADER_CHAIN_INCOMPLETE]: "ts-node/esm 'resolve'" did not call the next hook in its chain and did not explicitly signal a short circuit. If this is intentional, include shortCircuit: true in the hook's return.
at new NodeError (node:internal/errors:400:5)
at ESMLoader.resolve (node:internal/modules/esm/loader:850:13)
at async ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:7) {
code: 'ERR_LOADER_CHAIN_INCOMPLETE'
}

Not sure what's going on, feel free to try with My PR and suggest any edits you have

The issue had been stale for a long time. Closing the issue for now. You can reopen the issue.