Skip to content
Snippets Groups Projects
Commit 4b747d20 authored by syuilo's avatar syuilo
Browse files

Use npx to avoid global install of ts-node

parent 351b2360
No related branches found
No related tags found
No related merge requests found
......@@ -220,8 +220,7 @@ const user = await Users.findOne(userId).then(ensure);
### Migration作成方法
```
npm i -g ts-node
ts-node ./node_modules/typeorm/cli.js migration:generate -n 変更の名前
npx ts-node ./node_modules/typeorm/cli.js migration:generate -n 変更の名前
```
作成されたスクリプトは不必要な変更を含むため除去してください。
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment