codestates / codestates/quokkaBoard-server
[ ๐ Error Handling] tsc ํธ๋์คํ์ผ๋ง - ๊ฒฝ๋ก์ฐพ๊ธฐ์๋ฌ
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
### ์ด๋ค ์๋ฌ์ธ๊ฐ์?
- tsc ํธ๋์คํ์ผ์ ๊ฒฝ๋ก๋ฅผ ์ฝ์ง ๋ชปํ๋ ์๋ฌ
### ์๋ฌ ๋ฉ์์ง

### ์๋ฌ ํธ๋ค๋ง ๋ฐฉ๋ฒ
- ํธ๋์คํ์ผ์ ๋ํ ์ดํด๋ถ์กฑ
- ๋ก์ปฌ์์ tsc๋ฅผ ๋ค๋ฃฐ๊ฒฝ์ฐ ๊ฐ tsํ์ผ์ด ์กด์ฌํ๋ ๊ฒฝ๋ก๋ง๋ค tsconfig ๊ฐ ํ์ํ๋ค.
- npm scripts์์ ๋ฃจํธ์ ์๋ tsconfig ํ์ผ๋ก build์ ํธ๋์คํ์ผํ๋๋ก ์ค์ ํ์ฌ ํด๊ฒฐํ๋ค.
```
"scripts": { "build": "tsc" } // package.json ํ์ผ
```
### ์๋ฌ ํธ๋ค๋ง์ ์ํด ์ฐธ๊ณ ํ ๋ ํผ๋ฐ์ค ๋งํฌ
[๋งํฌ1](https://stackoverflow.com/questions/63320525/error-ts1259-module-node-modules-types-express-index-can-only-be-default)
[๋งํฌ2](https://stackoverflow.com/questions/31749952/how-to-run-typescript-compiler-as-a-package-json-script-without-grunt-or-gulp)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.