Skip to content

Commit bef36c1

Browse files
authored
Merge pull request #85 from fredleroy/patch-1
pnpm dependency install
2 parents 32becb1 + 3c04562 commit bef36c1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/getting-started.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ yarn add -D typescript @types/node @types/express
3232
# Initialize tsconfig.json
3333
yarn run tsc --init
3434
```
35+
When using pnpm, you will also need to explicitely add the @tsoa/runtime as a dependecy for generated routes.
36+
This is inherent to the way pnpm manages node_modules (see [pnpm symlinked node_modules structure](https://pnpm.io/symlinked-node-modules-structure)).
37+
```shell
38+
39+
# Explicitely add @tsoa/runtime with pnpm as it will be needed by generated routes
40+
pnpm add @tsoa/runtime
41+
```
3542

3643
## Configuring tsoa and typescript
3744

0 commit comments

Comments
 (0)