Skip to content

Commit

Permalink
Merge pull request #85 from fredleroy/patch-1
Browse files Browse the repository at this point in the history
pnpm dependency install
  • Loading branch information
WoH authored Feb 24, 2025
2 parents 32becb1 + 3c04562 commit bef36c1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ yarn add -D typescript @types/node @types/express
# Initialize tsconfig.json
yarn run tsc --init
```
When using pnpm, you will also need to explicitely add the @tsoa/runtime as a dependecy for generated routes.
This is inherent to the way pnpm manages node_modules (see [pnpm symlinked node_modules structure](https://pnpm.io/symlinked-node-modules-structure)).
```shell

# Explicitely add @tsoa/runtime with pnpm as it will be needed by generated routes
pnpm add @tsoa/runtime
```

## Configuring tsoa and typescript

Expand Down

0 comments on commit bef36c1

Please sign in to comment.