1. 다음 코드 추가 후 npm install regenerator-runtime 추가 해 주기
import "regenerator-runtime/runtime";
2. webpack에 다음 코드 추가
entry: ["regenerator-runtime/runtime.js", "./webpacksrc"],
'Projcet' 카테고리의 다른 글
socket.io 에러 socket.io connect 2번 되는 에러 해결 (0) | 2022.08.08 |
---|---|
Fetch API cannot load localhost:(port&path). URL scheme "localhost" is not supported 에러 (0) | 2022.05.10 |
webpack에서 빌드시 the top-level-await experiment is not enabled (0) | 2022.04.15 |
타입스크립트 에러: Cannot find module 'typescript/bin/tsc' (0) | 2022.04.01 |
타입스크립트 에러 : tsconfig.json: Build:No inputs were found in config file (0) | 2022.04.01 |