-
Notifications
You must be signed in to change notification settings - Fork 5
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: window.URL.createObjectURL is not a function #5
TypeError: window.URL.createObjectURL is not a function #5
Comments
I am also getting the same. |
I just started getting the same. Any updates on this? |
Same issue here |
I just tried the plugin again on a fresh Sanity Studio install and it worked just fine, couldn't replicate this issue :/ |
I am also now getting this error when i try to run |
On Tue, 23 Mar 2021 at 5:45 PM Bryce Flory ***@***.***> wrote:
I am also now getting this error when i try to run sanity graphql deploy
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOFELEQKG5PU7ROGFWYUIFTTFCLOLANCNFSM4TGJREHQ>
.
Hi All,
This something like we are trying to access frontend objects in the server
side.
We need to add a condition telling like if windows object is present then
only we can use this object.
Please let me know if any help is needed specifically to this issue I am
happy to help.
|
I got the same error, and was able to establish that the inclusion of Anyone knows how to circumvent this? We need the input, but we also need to deploy the dataset! 😅 |
Fingers crossed that the mapbox-gl-js team will approve my PR and solve this issue! 🤞 |
…ot a function' error. Fixes Grsmto/sanity-plugin-mapbox-input#5. Fixes #11390. (#11370) * Better validation against 'TypeError: window.URL.createObjectURL is not a function' error * Validate 'window' only after checking if it's not undefined * Validate using ES5 syntax to avoid 'invalid token' error when importing the module
This error should go away now that mapbox-gl-js has released the change on their v2.7.0. 🎉 https://github.com/mapbox/mapbox-gl-js/releases/tag/v2.7.0. The fix here is to get the dependency that uses mapbox-gl-js to point to the new version. |
Hmmm some dep somewhere hasn't been bumped yet - still seeing this on a fresh install 🤔 |
Hello!
I was hoping to use this in lieu of the Google Maps input. The studio is building fine and looks good but as soon as I run
sanity graphql deploy
I get this strange error:Which based on the googling that I have done seems to be something to do with mapbox and testing? See this issue:
mapbox/mapbox-gl-js#3436
Here is my are my dependencies in case it helps:
And sanity.json stuff
The text was updated successfully, but these errors were encountered: