-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
adapter-netlify missing dependency in output function #1313
Comments
I just tried deploying the latest SvelteKit demo to Netlify without issue:
So I don't think this is a SvelteKit issue, but rather an issue with your project. Normally using You may be able to fix the adapter issues in your project by installing a version of the adapter from around the date you initialized the project: https://www.npmjs.com/package/@sveltejs/adapter-netlify?activeTab=versions However, what I would do is:
I have basically already done steps 1 and 2, so you can just clone/fork my repo: |
I can't run your demo. It just says I'm going to close this since it's working in the default project and I can't reproduce |
Im enountering this issue too. |
I tried setting SvelteKit and Adapter Netlify versions to Can somebody explain to me what is responsible for building the |
I just encountered this as well and have a workaround. TL;DRAdd
Some backgroundFrom the build logs in Netlify:
I tried the topmost suggestion (adding Check if your project has a dependency (nested or otherwise) on
In my project, I’m using
This definitely is not technically an issue with SvelteKit or its Netlify adapter. It’s just the result of the way that functions are packaged and a failure of whatever shrink-wrapping function is being used for that to identify when a I hope this helps others running into this issue! |
Thank you @agarzola, this resolves the issue for me. I wonder if an issue should be opened in the node-fetch repo? I would be happy to do it, but you seem to have a better grasp of the topic. |
@ixxie I’m glad that helped!
Feel free to give it a shot, but this comment indicates that they don’t intend to add The bundler encounters Is it really |
Right, I see your point. Well, I'll leave it to better minds to think about the issues of bundling and dependencies... |
I'm experiencing the exact same problem but my error code is:
Tried to install 'exports' but got the following error:
FWIW if anyone is interested I'd greatly appreciate help with this, I'm totally flummoxed. |
Recently, I've been getting this weird error with
adapter-netlify
:Adding the suggested plugin doesn't seem to help...
I have not been able to reproduce the issue in a minimal repo, but my repo is public and this commit reproduces the issue.
The text was updated successfully, but these errors were encountered: