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

Images not appearing in local development mode #5763

Open
russel-tech opened this issue Jan 27, 2025 · 5 comments
Open

Images not appearing in local development mode #5763

russel-tech opened this issue Jan 27, 2025 · 5 comments
Labels
product/docs Fern Docs which builds and hosts a developer documentation site

Comments

@russel-tech
Copy link

russel-tech commented Jan 27, 2025

CLI Version (from fern.config.json)

0.46.23

Minimal API Specification

Images don't appear when I run the local server. Additionally, the generated preview link also doesn't display the images.
I'm running a Windows laptop.

Actual UI Behavior

Image

Expected UI Behavior

The images should appear on the local server and the generated preview link.

@russel-tech russel-tech added bug Issues reporting bugs. product/docs Fern Docs which builds and hosts a developer documentation site labels Jan 27, 2025
@russel-tech
Copy link
Author

Image

@jordn
Copy link

jordn commented Jan 28, 2025

@dannysheridan
Copy link
Member

dannysheridan commented Jan 29, 2025

@russel-tech @jordn -- can you manually enter the CLI version in fern.config.json as 0.45.4 and then spin up the local server? I'm curious to hear whether this fixes your problem.

@jordn
Copy link

jordn commented Jan 29, 2025

maybe later if you want, but 0.50.17 -> 0.50.10 also worked

@russel-tech
Copy link
Author

@dannysheridan I tried 0.45.4 but it threw an error:

C:\Users\russe\Documents\Github\config-api-documentation>fern docs dev
(node:10988) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
npm error code ETARGET
npm error notarget No matching version found for fern-api@0.45.4.
npm error notarget In most cases you or one of your dependencies are requesting
npm error notarget a package version that doesn't exist.
npm error A complete log of this run can be found in: C:\Users\russe\AppData\Local\npm-cache\_logs\2025-01-30T06_14_12_399Z-debug-0.log```

@dannysheridan dannysheridan changed the title Images not appearing on local server or generated preview Images not appearing in local development mode Feb 3, 2025
@dannysheridan dannysheridan removed the bug Issues reporting bugs. label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product/docs Fern Docs which builds and hosts a developer documentation site
Development

No branches or pull requests

3 participants