Comments (9)
Have you tested this by deploying the demo site to Netlify to see if it happens? I'm unable to reproduce this error.
Please provide more info if you can and I'll have a closer look.
from eleventy-netlify-boilerplate.
Yes, I just tested with a fresh deployment. Hm... I can provide you with some screenshots to show how it looks like.
Thanks for you help!
from eleventy-netlify-boilerplate.
The CORS error is probably specific to your version of Safari, as I'm unable to replicate it with any of my browsers. And as I didn't do the post preview templates PR myself, I'm unfamiliar with how it's been built.
Not sure if this will work, but if you're interested in investigating this yourself, you could try implementing Netlify's proxy redirecting by adding something like the following in your netlify.toml
to proxy requests for those unpkg modules through Netlify, thereby - in theory - bypassing the CORS policy on unpkg.com
[[redirects]]
from = "/unpkg/*"
to = "https://unpkg.com/:splat"
status = 200
force = true
headers = {Access-Control-Allow-Origin = "*"}
The final 2 errors in your screenshot are caused by Netlify CMS looking for Git Large File Storage settings and these errors, although a bit worrying, are apparently normal.
The missing favicon.ico 404 has been fixed.
from eleventy-netlify-boilerplate.
Problem also occurs using Chrome or Firefox:
What the hell is "hastebrot.static.observableusercontent.com"?
I just tried your "redirects"-suggestion. To no avail...
from eleventy-netlify-boilerplate.
It might be worth opening an issue at netlify/netlify-cms as it's not obvious to me what is causing this error and I'm unable to reproduce it and therefore fix it.
Also check your firewall, ad-blocker, proxy etc if required in case it's something really simple causing the error.
Anyway, if you get any closer to solving this, please let me know!
from eleventy-netlify-boilerplate.
Thanks for your help, Dan! I will probably do that.
from eleventy-netlify-boilerplate.
Also, if you need a temporary fix to this error, you could copy and host the offending module(s) locally in your Netlify project instead of via unpkg.com
from eleventy-netlify-boilerplate.
-import htm from "https://unpkg.com/htm?module";
+import htm from "/admin/preview-templates/htm.js";
in
admin/preview-templates/page.js and
admin/preview-templates/post.js
Preview is working again!
from eleventy-netlify-boilerplate.
OK, good to hear you got a temporary fix working at least.
I'm closing this issue for now but let me know if you want to re-open it.
from eleventy-netlify-boilerplate.
Related Issues (20)
- How can I activate drafts? HOT 2
- Auto-redirect doesn't work HOT 1
- Images and text are not fully responsive/cut off on mobile HOT 1
- Bulky netlify-identity-widget script include HOT 3
- How was the /about page generated? HOT 1
- Add a thanks page for the contact form to redirect to after submission
- Notice: Temporary interaction limits
- Problem writing eleventy templates (more info in DEBUG output) HOT 2
- TemplatePassthroughManagerCopyError
- CMS access for private forked repo HOT 3
- MarkdownItAnchor is not defined.
- Form submissions not working HOT 5
- Use minifyCSS and minifyJS options in html-minifier instead? HOT 3
- Using TailwindCSS HOT 1
- Moving rooted templates to directories. HOT 2
- Can't get tags and author to work on another repo HOT 7
- 'Invalid DateTime' in article HOT 6
- v2 beta update HOT 5
- Feature Requests
- Making images work when posts have a year/month/title structure HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eleventy-netlify-boilerplate.