Trace: The node type SpreadProperty has been renamed to SpreadElement at Object.isSpreadProperty

后端 未结 5 850
一整个雨季
一整个雨季 2020-12-17 07:54

I\'m launching a react app, and here\'s my Webpack configuration:

\'use strict\'

const ExtractPlugin = require(\'extract-text-webpack-plugin\')
const HTMLPl         


        
5条回答
  •  Happy的楠姐
    2020-12-17 08:19

    In my case, I was not implementing the Webpack configuration and still error was there. After so many solutions implementation, the error was same or once an error was removed another appeared. Finally, I deleted .bablerc, .babelrc and package-lock.json files and ran rm -rf node_modules && npm install and then ran react-native run-android and it worked for me. :-)

提交回复
热议问题