반응형
error TS1208: 'identification_num.ts' cannot be compiled under '--isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export {}' statement to make it a module.
위와 같이 에러가 나왔고, 이는 파일에 아무런 내용이 없어서 발생한느 문제로 비어있는 파일에 아래와 같이 export {}를 추가해주면 해결된다.
반응형
'ERROR' 카테고리의 다른 글
[ Error ] - m1 에러 (0) | 2022.06.13 |
---|---|
[ Error ] - AWS RDS에 prisma 연결시 에러 (0) | 2022.06.09 |
[ Error ] - SyntaxError: Cannot use import statement outside a module (0) | 2022.05.29 |
[ Error] - prisma error (0) | 2022.04.05 |
[ Error] react error (0) | 2022.04.05 |