ํ‹ฐ์Šคํ† ๋ฆฌ ๋ทฐ

728x90

The Reason of this Error

'babel-eslint' has deprecated and it causes this error.

All you have to do is changing parser from deprecated 'babel-eslint' to '@babel/eslint-parser'

 

Error Solution

1. Open your react file using IDE(For me, VSCode)

 

2. Find node_modules Directory and you can find eslint-config-react-app / base.js in this directory.

 

3. You should change parser in module.exports from babel-eslint to @babel/eslint-parser 

 

4. Do 'yarn install' again and 'yarn start' (or npm)

 

728x90
๊ณต์ง€์‚ฌํ•ญ
์ตœ๊ทผ์— ์˜ฌ๋ผ์˜จ ๊ธ€
์ตœ๊ทผ์— ๋‹ฌ๋ฆฐ ๋Œ“๊ธ€
Total
Today
Yesterday
ยซ   2025/01   ยป
์ผ ์›” ํ™” ์ˆ˜ ๋ชฉ ๊ธˆ ํ† 
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
๊ธ€ ๋ณด๊ด€ํ•จ
250x250