Closed kuleyu closed 1 year ago
I'm experiencing the same issue 👀
Same here, can't get it working from the Vercel one click either
This sounds like an issue with either the sanity studio packages, or the sanity-plugin-media
plugin. Can you try upgrading the versions and see if you're able to build and deploy?
Thanks! I’ll try a manual install and upgrade the packages like you said. My issue was with the automatic deploys on vercel only, the sanity one click worked just fine.
I've had success going to the studio folder and running
yarn add sanity-plugin-media@1.4.13
I believe I hit the same issue (deploying to Netlify though). I solved it by adding a webpack.sanity.js
file in the studio
folder, with the following config:
module.exports = function (config, options) {
config.module.rules[0].exclude =
/(node_modules|bower_components)\/(?!@floating-ui)/;
return config;
};
I've had success going to the studio folder and running
yarn add sanity-plugin-media@1.4.13
Thanks @kasperbirch1, @ndimatteo and @anendlesssupply, it works. So the bug seems to be brought by its new version sanity-plugin-media@1.4.14 (2022-11-22).
Closing for the same reason as this: https://github.com/ndimatteo/HULL/issues/114#issuecomment-1366973543
Here are the deployment logs:
It seems that the error may be caused by some dependencies' update, as there is no error 3 days ago, and no error in my local building progress.
How can we solve this problem? Thank you in advance!