fix: Example code in README doesn't work #790
Labels
status: needs triage
Issues which needs to be reproduced to be verified report.
type: fix
Issues describing a broken feature.
Description
Following instructions for Express on README.md code fails with:
TypeError: Reflect.getMetadata is not a function
Minimal code-snippet showcasing the problem
Simply type the first example in the README of this repo (
UserController.ts
&app.ts
).Expected behavior
Expecting the example to work.
Actual behavior
Fails to start:
My
package.json
:And
tsconfig.json
:The text was updated successfully, but these errors were encountered: