You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing issues to ensure the bug has not already been reported
Fastify version
3.29.0
Plugin version
No response
Node.js version
16.x
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
11.6.2
Description
I tried to use the QuickStart example with React, I've followed the steps as per the docs:
create a folder
install all dependencies
create a app.mjs file according with the snippet
create a index.jsx file in views folder
When I run the command "node app.mjs" I have the following response:
❯ node app.mjs
file:///Users/lucasbittencurt/www/ssr-vite/app.mjs:9
await app.vite.commands()
^
TypeError: app.vite.commands is not a function
at file:///Users/lucasbittencurt/www/ssr-vite/app.mjs:9:16
at processTicksAndRejections (node:internal/process/task_queues:96:5)```
### Steps to Reproduce
Follow the quickstart for React with node version 16.x
### Expected Behavior
Expected to run a Fastify server correctly.
The text was updated successfully, but these errors were encountered:
Prerequisites
Fastify version
3.29.0
Plugin version
No response
Node.js version
16.x
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
11.6.2
Description
I tried to use the QuickStart example with React, I've followed the steps as per the docs:
When I run the command "node app.mjs" I have the following response:
The text was updated successfully, but these errors were encountered: