sharp won't work
i'm about to go to sleep so sorry for lack of detail, will update in the morning
logs
using pnpm,
"sharp": "^0.34.1",
6 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
function using sharp
Did you add it as an external package? https://docs.convex.dev/functions/bundling#external-packages
e.g. in your
convex.json
yes i did, sorry didn't say that
i'm on a windows system so i think this is part of the problem
i downgraded to 0.33.5 of sharp and it worked,
my previous code was also broken, only actions can run under node so i had to refactor the code to take url and just return the metadata
I wouldn't think this has anything to do with Windows, as the bundling happens on Convex servers
But it does sound like maybe it's somehow a
sharp
version issue
I use 0.33.5
and I don't have any issuesI just experienced exactly the same thing