Failed to resolve module specifier "#runtime/svelte/application"
Trying to set up a new module from the following repository. https://github.com/typhonjs-fvtt-demo/template-svelte-esm
I followed all the instructions listed in the readme (though I did have to install Node.js separately, which wasn't specified) and everything seems fine except when I launch the world, I get this error. Any advice on how to resolve this? Did I not install something or install the wrong version? I downloaded Node.js 20.18.0
GitHub
GitHub - typhonjs-fvtt-demo/template-svelte-esm: Provides a basic F...
Provides a basic Foundry module template w/ TRL and ES modules to generate your own module. - typhonjs-fvtt-demo/template-svelte-esm
2 Replies
nevermind, it seems something never saved properly in my editor before I ran
npm run build
, but I just ran it again after re-saving everything and it works nowHiya @Hawk. Glad you got it worked out. You are arriving at a good time as I'm just about to release a major new version, so sub-path imports have changed, but you'll get up to speed on the new version. Should have it out tomorrow.
Feel free to ask any other questions.