Closed estelle closed 6 days ago
Technically, we're missing a yarn render:html
when packaging yari, but originally it seems yarn tool spas
no longer building HTML files is a breaking change we missed. We'll provide a fix in the next 24 hours.
@estelle The fix is now available in @mdn/yari
2.58.0, and I expect Dependabot to open a PR on mdn/content in the next hours.
With https://github.com/mdn/content/pull/34426 being merged, the fix has now landed in the content repository.
@caugner Thanks for the quick turn around and fix. It's working
Summary
I updated my local environment. I can get to http://localhost:5042/en-US/docs (which redirects to http://localhost:5042/en-US/docs/Web) but not to http://localhost:5042 or http://localhost:5042/en-US or http://localhost:5042/en-US/play/ (live examples work, but clicking "play" to open in new tab gets the error)
The error message reads:
Error: ENOENT: no such file or directory, stat 'myPath/content/node_modules/@mdn/yari/client/build/en-us/_spas/404.html'
It was working on 2.56, but the 2.57 build seems to be the issue.
URL
http://localhost:5042
Reproduction steps
Expected behavior
the home page
Actual behavior
an error: Error: ENOENT: no such file or directory
Device
Desktop
Browser
Edge
Browser version
Stable
Operating system
iOS
Screenshot
Anything else?
No response
Validations