-
Notifications
You must be signed in to change notification settings - Fork 33
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
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined #176
Comments
Can you provide a repo with a minimal reproduction? |
Much appreciated @geoffrich here's the project,
Once the project is cloned
My intention is to deploy this app in SWA + Azure managed function, therefore I can use this setup to have og images generated on the fly...... Using Svelte cause it's lightweight plus the adapter works perfectly fine & this issue comes up whenever a library that uses In addition, not sure would this help when I started using the adapter the project failed to build which I then ended up also doing Issue
Fix
|
Very weird error - I was able to fix it by adding "css-tree" to esbuildOptions.external as well.
This seems to be specific to the |
Ah, and the root cause is an issue in Svelte: sveltejs/svelte#9288 Either way, hopefully that config change should resolve it for you |
geoffrich really grateful for the adapter to deploy svelte to azure SWA it's amazing!
Running into an issue where as when I install
@ethercorps/sveltekit-og
and use it withswa start
I get an internal server errorThis issue only happens when I perform
swa start
+svelte-adapter-azure-swa
, when I performnpm run dev
works flawlesslyany clue on what might be the cause..... or maybe this is something we have to check with the author of
@ethercorps/sveltekit-og
?Thank you in advance!!!
The text was updated successfully, but these errors were encountered: