[VScode]Unexpected token ';' / no stack 오류

WINSCA, Han·2021년 6월 1일
0

vscode 터미널에 SyntaxError: Unexpected end of JSON input while parsing near '' at JSON.parse() 라는 메세지가 뜨면서 앱 작동이 되지 않는다.
프로젝트의 data.json 파일이 저장이 안되었을 가능성이 있으니, data.json 파일을 저장하고 휴대폰 앱을 재실행하면 잘 작동하는 것을 볼 수 있다. 코딩할때는 수시로 저장하는 습관을 들이는 것이 좋겠다.
+++++++
The app does not work with the message "SyntaxError: Unexpected end of JSON input while parsing near '' at JSON.parse()" in the vscode terminal.
There is a possibility that the data.json file of the project was not saved, so if you save the data.json file and run the phone app again, you can see that it works well. It is good to get into the habit of saving frequently when coding.

profile
코딩초보의 코딩적응기 Coding adaptor for beginners

0개의 댓글