-1

I am working in node application, there I am using fastify but it not working as expected.

Environment,

node : 13.14.0

npm : 6.14.4

package.json file is

enter image description here

index.ts file

enter image description here

When running the application it throws an error as below,

enter image description here

Udhayakumar
  • 357
  • 5
  • 19

1 Answers1

1

As wrote in the Fastify LTS statement, fastify v4 support Node.js >= 14

That said, the fastify codebase uses nullish operator ?? and the optional chaining operator ?. that are not supported by Node.js 13

Manuel Spigolon
  • 11,003
  • 5
  • 50
  • 73