# syntaxerror
총 5개의 포스트
SyntaxError: Cannot use import statement outside a module when debug with typescript
vscode에서 debugging을 하기 위해 .vscode/launch.json을 만들었다. 기본 설정에는 ts->js 컴파일하는 과정이 없기 때문에 ts에서 사용되는 import를 사용할 수 없다.args에 --require ts-node/register를 작성해주
2022년 1월 13일
·
0개의 댓글
[VScode]Unexpected token ';' / no stack 오류
vscode 터미널에 SyntaxError: Unexpected end of JSON input while parsing near '' at JSON.parse() 라는 메세지가 뜨면서 앱 작동이 되지 않는다.프로젝트의 data.json 파일이 저장이 안되었을 가능성
2021년 6월 1일
·
0개의 댓글