Npm start reported an error.

  git, question

Npm start reported an error.
Hint:

$ npm start

Starting the development server …

Failed to compile.

./src/routes/orders/AllPaidOrderListPage.js
Module build failed: TypeError: Property right of AssignmentExpression expected node to be of a type [“Expression”] but instead got null
at Array.map (<anonymous>)

What is this problem and how to solve it?
You old iron help see ~ _ ~

Transformation-Decorators-Legacy need not be introduced due to the break change caused by babel@7 upgrade.
will.webpackrc.jshit the target

extraBabelPlugins: [
 'transform-decorators-legacy',
 ['import', { libraryName: 'antd', libraryDirectory: 'es', style: true }],
 ]

Transform-decorators-legacy for deletion
Details:Link description