You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
elderjs newbie here. I installed with the instructions (npx degit Elderjs/template elderjs-app) and on opening Blog.svelte vscode throws a syntax error at the <script> tag:
Error in svelte.config.js ... Cannot find module 'svelte-preprocess'
Looking up the 'svelte-preprocess' module, I note that it the import object is preprocess, not sveltePreprocess. I changed the file to look like this (sveltePreprocess -> preprocess)
and for some reason, the error went away - although I don't think the change had anything to do with the availability of the 'svelte-preprocess' module (or the variable name, for that matter.)
Is this expected behavior? Is it something that goes away on a build or dev run? If so, it would be good if the docs indicated that, somewhere. If not, perhaps it needs a fix.
The text was updated successfully, but these errors were encountered:
elderjs newbie here. I installed with the instructions (npx degit Elderjs/template elderjs-app) and on opening Blog.svelte vscode throws a syntax error at the
<script>
tag:The svelte.config.js looks like:
Looking up the 'svelte-preprocess' module, I note that it the import object is
preprocess
, notsveltePreprocess
. I changed the file to look like this (sveltePreprocess -> preprocess)and for some reason, the error went away - although I don't think the change had anything to do with the availability of the 'svelte-preprocess' module (or the variable name, for that matter.)
Is this expected behavior? Is it something that goes away on a
build
ordev
run? If so, it would be good if the docs indicated that, somewhere. If not, perhaps it needs a fix.The text was updated successfully, but these errors were encountered: