fastify/website

Development server is not starting

james-kaguru opened this issue · 8 comments

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the bug has not already been reported

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

Eomm commented

Could you list the commands?

I think it misses one

@Eomm Here are the commands

npm install
npm --prefix ./scripts install
npm start

Eomm commented

Run npm run build:website too

@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?"

@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

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

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