Comments (8)
Hi @AnthonyTsu1984 , thank you for your quick reply. Actually I tried to create a brand new project using scaffold command
npx create-docusaurus@latest my-website classic --typescript
which has exact the same dependencies as you pointed out, and it does not work also.
Another tried is creating a repro with https://new.docusaurus.io/, also does not work.
And the issue is not about broken anchor warnings, it's about clicking a url with an anchor and it does not scroll to the right position
from docusaurus.
@slorber thank you so much for the answer!! solved my problem :D
from docusaurus.
Hi, probably the same issue here.
I have a Chinese site where I add anchor id manually as follows:
But I don't know why such titles carry no anchor styles, and I assume that makes all anchors broken.
from docusaurus.
yes I think is the same error :(
from docusaurus.
I have checked the differences between the dependencies of a fresh-install site and my site, and it turns out that it's the fault of the dependencies. Clean your dependencies and remove conflicting and unnecessary dependencies. Everything will go smoothly then.
from docusaurus.
Also have the same issue
from docusaurus.
Also have the same issue
Try to clean the dependencies as I do. The update command that Docusaurus provides does not cover everything.
Check your package.json
and make sure that you have these dependencies with the correct versions.
After cleaning my dependencies, the broken anchor warnings are gone forever.
from docusaurus.
Hey
The problem on this url is a hosting problem.
https://docs.avacysolution.com/docs/avacy-saas/cookie-policy#aggiornamenti-ai-termini-della-cookie-policy
This URL is not supposed to serve build/index.html
, but it actually does.
If you throttle your network (using Chrome devtools) or plainly disable JS, you will see that your web server serves your index/homepage instead of the actual page it's supposed to serve. The UI gets "fixed" later because React takes over and re-renders it with the content you expect. But the problem remains: you don't serve the correct page.
It is your responsibility to configure your custom hosting solution to serve a static deployment properly. I'd recommend using Vercel or Netlify to make this a no-brainer in case you don't know how to fix the problem on your current host.
Regarding problems encountered by others, they are likely different problems. Please create repros using https://docusaurus.new/stackblitz and we'll take a look.
from docusaurus.
Related Issues (20)
- Index pages cannot be generated with an automatically generated siderbar HOT 1
- Document solution to "docs last update" date being rendered incorrectly when published through Vercel
- Customizing admonitions not work HOT 3
- When testing on StrictMode, the bar remains on the top HOT 1
- Node.js building getting stuck HOT 2
- Updating to @mdx-js/react 3.0.1 causes admonition blocks to stop rendering colored box HOT 8
- The <!--truncate--> line in my long blog post on the initialized website is not causing the blog post size to be limited. HOT 1
- Add trailing slash to auto generated sitemap.xml for directories only HOT 3
- blogTitle not working HOT 4
- Algolia Contextual Search Generates Incorrect FaceFilters HOT 6
- Multi-Instance Routes Not Working in v3.2.1 HOT 3
- Home page renders twice, one below the other. HOT 1
- Details elements aren't searchable - a11y issue HOT 8
- WARNβ 1 deprecated subdependencies found: [email protected] HOT 1
- npm run build fails when nmetadata are missing HOT 3
- Broken link transformation HOT 2
- Ability to Skip Homepage and Directly Access Feature Page HOT 1
- Light/Dark Mode issues on older versions of Safari 12,13, and 14 HOT 3
- Problems with locale url on homepage and blog HOT 5
- Proposal: createSitemapItems hook - a sitemap equivalent to createFeedItems
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 docusaurus.