Npm start reported an error.

  git, question

Npm start reported an error.

$ npm start

Starting the development server …

Failed to compile.

Module build failed: TypeError: Property right of AssignmentExpression expected node to be of a type [“Expression”] but instead got null
at (<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: [
 ['import', { libraryName: 'antd', libraryDirectory: 'es', style: true }],

Transform-decorators-legacy for deletion
Details:Link description