-
카테고리
-
세부 분야
프론트엔드
-
해결 여부
미해결
checker.emitFiles is not a function
22.09.24 00:55 작성 조회수 212
0
npm run build를 했더니 밑과 같은 에러가 뜹니다.. 어떻게 해야하나요 ㅜ
[webpack-cli] Failed to load 'C:\Users\JW\slack_front\alecture\webpack.config.ts' config
[webpack-cli] TypeError: checker.emitFiles is not a function
at compile (C:\Users\JW\slack_front\alecture\node_modules\typescript-register\index.js:132:26)
at Object.req (C:\Users\JW\slack_front\alecture\node_modules\typescript-register\index.js:29:9)
at Module.load (node:internal/modules/cjs/loader:1004:32)
at Function.Module._load (node:internal/modules/cjs/loader:839:12)
at Module.require (node:internal/modules/cjs/loader:1028:19)
at require (node:internal/modules/cjs/helpers:102:18)
at WebpackCLI.tryRequireThenImport (C:\Users\JW\slack_front\alecture\node_modules\webpack-cli\lib\webpack-cli.js:204:22)
at loadConfigByPath (C:\Users\JW\slack_front\alecture\node_modules\webpack-cli\lib\webpack-cli.js:1404:38)
at WebpackCLI.loadConfig (C:\Users\JW\slack_front\alecture\node_modules\webpack-cli\lib\webpack-cli.js:1510:44)
at WebpackCLI.createCompiler (C:\Users\JW\slack_front\alecture\node_modules\webpack-cli\lib\webpack-cli.js:1785:33)
답변을 작성해보세요.
1
답변 1