Problems with babel loader in react-create-app

后端 未结 11 1184
孤城傲影
孤城傲影 2021-02-18 16:50

The Problem

create-react-app initializes a repository where babel-loader is installed as an older version than needed.

LOG:

There          


        
11条回答
  •  太阳男子
    2021-02-18 17:18

    However, a different version of babel-loader was detected higher up in the tree:

    You should delete babel-loader package that was was detected higher up the tree. The output says there is a node_modules folder with babel-loader at..

    C:\Users\user\node_modules\babel-loader (version: 8.0.2)

    You may be able to delete the C:\Users\user\node_modules directory altogether as well, unless for some reason you have a project rooted there inside /Users/{user}

提交回复
热议问题