fastify / fastify-cli

Run a Fastify application with one command!
MIT License
644 stars 160 forks source link

with 'nom run start' error: Missing the required file parameter shows up #729

Closed ivanberry closed 1 month ago

ivanberry commented 1 month ago

Prerequisites

Fastify version

4.26.1

Plugin version

4.26.1

Node.js version

20.11.1

Operating system

Linux

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

ubuntu 22.04

Description

I start the project with fastify-cli. when I just want to start the server, I run

npm run start -p 3101 -a 0.0.0.0

it say Missing the required file parameter

I am new to fastify and cli. as I expect, when I use a cli to start a project, it should just start.

Link to code that reproduces the bug

No response

Expected Behavior

start the server as expect