Skip to content
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

Local Http Server not displaying API Docs after error "Failed to download preview bundle" during server initiation #6264

Open
dean-nib opened this issue Mar 3, 2025 · 0 comments
Labels
feature/local-development Preview changes locally for your docs product/CLI Fern's command line interface tool product/docs Fern Docs which builds and hosts a developer documentation site

Comments

@dean-nib
Copy link

dean-nib commented Mar 3, 2025

How urgent is this?

P1 - High (Strongly needed)

What's the issue?

Steps to reproduce

  1. I downloaded my company's API Docs repo (https://github.com/nib-group/tvl-api-docs) which is using Fern.
  2. I went to c:\source\tvl-api-docs in a command window
  3. I executed the following command: fern docs dev
  4. A server was initiated and I was displayed a link: http://localhost:3000. I entered this link into a browser.
  5. In the browser, the following error message was displayed: Error: ENOENT: no such file or directory, stat 'C:\Users\dean.Ashton.fern\preview\bundle[[...slug]].html' and no API docs were displayed.

I suspect this was because when the http server started up, it gave an error during loading "Failed to download preview bundle"

Image

Expected behaviour
When I loaded the link in a browser in the API docs should have been displayed.

Actual behaviour
When I loaded the link in a browser an error message was displayed (Error: ENOENT: no such file or directory, stat 'C:\Users\dean.Ashton.fern\preview\bundle[[...slug]].html' and no API docs were displayed.) and the API docs were not displayed.

Environment
Windows 10 Enterprise x64 Bit (version 19045.5487 and Windows Feature Experience Pack 1000.19061.1000.0)
HP Elitebook laptop .

@dannysheridan dannysheridan added product/docs Fern Docs which builds and hosts a developer documentation site product/CLI Fern's command line interface tool feature/local-development Preview changes locally for your docs labels Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/local-development Preview changes locally for your docs product/CLI Fern's command line interface tool product/docs Fern Docs which builds and hosts a developer documentation site
Development

No branches or pull requests

2 participants