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

前端 未结 11 1598
佛祖请我去吃肉
佛祖请我去吃肉 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:15

    Yarn users, I had the same problem in react, I solved the problem remove package.json and install again:

    rm -rf node_modules
    yarn cache clean
    yarn install
    

    I'd made with vscode closed by linux terminal, to don't have problem with cache.

提交回复
热议问题