fastify / website

https://fastify.dev/
MIT License
60 stars 54 forks source link

Development server is not starting #217

Closed james-kaguru closed 3 months ago

james-kaguru commented 3 months ago

Prerequisites

Fastify version

4.0.0

Plugin version

n/a

Node.js version

20.11.0

Operating system

macOS

Operating system version (i.e. 20.04, 11.3, 10)

Ventura 13.6.6

Description

I have just downloaded the fastify website and proceeded to start the dev server following the instruction in the README.md but I got an error as shown below.

Screenshot 2024-05-02 at 4 03 45 PM

Link to code that reproduces the bug

n/a

Expected Behavior

for the dev server to start correctly

mcollina commented 3 months ago

cc @Eomm

Eomm commented 3 months ago

Could you list the commands?

I think it misses one

james-kaguru commented 3 months ago

@Eomm Here are the commands

npm install
npm --prefix ./scripts install
npm start
Eomm commented 3 months ago

Run npm run build:website too

james-kaguru commented 3 months ago

@Eomm Im getting an error that occurs when the build:website is run particularly from /scripts/download-release.sh . Is says

"No release found. Did you run gh auth login?"

james-kaguru commented 3 months ago

@Eomm I was able to solve the issue by installing the github cli.. I could help with the update of the README.md to ensure new developers will be able to setup correctly. However now that the dev server is running, Im not able to find where the code for the docs are. Could you kindly help me oout with this

Eomm commented 3 months ago

It is explained in the "build" section https://github.com/fastify/website

The documentation lives in the main fastify repository: fastify/fastify/docs

Feel free to improve the wording if it is not clear

james-kaguru commented 3 months ago

thanks @Eomm for the clarificatioon..honestly I hadnt read that. I think rearragning the order might help with that. Ill proceed to create a PR for that