-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
npm run build retrieves The argument 'filename' must be a file URL object, file URL string, or absolute path string
#283
Comments
try, catch has been removed around |
@ashwinvasudevan thanks for the answer. I had to downgrade to I get this problem with this package I am working on right now https://www.npmjs.com/package/@svelte-on-solana/wallet-adapter-ui that is the Official Wallet adapter for Solana Dapps. This is blocking me right now to make support to Svelte devs who want to develop Web3 based on Solana. I hope this can be solved soon. Thanks!!!! |
This just broke the deployment of our app and I can't reason as to why as we're not upgrading the major or minor versions of sveltekit, svelte, or vite. What's going on? I've tried downgrading to this version but i'm still getting the issue as it seems to be referencing the next-38 package. Is there a trick to getting it to reference the next.37 from package.json? |
#286 is released in 1.0.0-next.38 which fixes this. Please upgrade to that version to resolve this issue. |
If the workaround proposed in this issue didn't work for you, then it probably means you're hitting a slightly different issue then. I'd suggest providing repros and logs, or create a new issue with it so we can debug further. |
Thanks! It certainly seems to be the same issue, since the logging output is the same as the originally referenced one:
|
@nikkwong FYI: I am receiving the exact same issue, but I don't have vite-plugin-svelte installed. Maybe an issue with kit? |
I was trying to install vite-plugin-svelte to override the version that the package itself uses; but to no avail. We can no longer build our app and can't find a workaround. Can this issue be reopened? |
Actually reverting: It is caused by vite-plugin-svelte apparently. the plugin was installed as dep of kit |
Ugh I'm sorry. Turns out the fix is not released yet 😢 |
Might be an upgrade to Vite that causes the issue. But usually it's hard to know where this was caused on this part of the code. I'll check with @dominikg to make a new release soon. |
super thank you @bluwy 🙏 |
this seems to be a different cause with a similar error message. Please file a new issue and provide a reproduction. |
Describe the bug
I've created a npm package that in development it works OK but when I run
npm run build
it retrieves the next error.Reproduction
This is the repo where this is happening.
https://github.com/silvestrevivo/solana-svelte-counter
I think it would be difficult to reproduce since you need to deploy the smart contract to run the project. With the SvelteKit version
251
this bug doesn't occur. As soon as you upgrade SvelteKit, the error happens.Logs
System Info
.
Severity
annoyance
The text was updated successfully, but these errors were encountered: