Line 0: Parsing error: Cannot read property 'map' of undefined

前端 未结 11 1604
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-30 18:49

Currently starting up the server on my client side, the error above is what I have been getting. I am using Typescript, React, ESlint. I can\'t seem to go forward since th

11条回答
  •  情歌与酒
    2020-12-30 19:17

    This is what worked for my CRA project.

    Step 1: edit package.json and set typescript version to ^3.9.7

    Step 2: delete .cache folder in node_modules

    Step 3: run npm install

提交回复
热议问题