Ant design pro project. After installing the dependency package, the startup project encountered a problem.

after getting the project, cnpm install (Taobao image) install the dependency package
, then start the project, report an error, and try again and again.
the same operation, others can run, the project is git Synchronize over, do not know what went wrong, ask for advice.
I hope I can even give you some advice on where to start.

the error is as follows

browser page:

Failed to compile
./src/index.js
Module build failed: Error: The "decorators" plugin requires a "decoratorsBeforeExport" option, whose value must be a boolean.
This error occurred during the build time and cannot be dismissed.
< hr >

browser console:

Uncaught Error: Module build failed: Error: The "decorators" plugin requires a "decoratorsBeforeExport" option, whose value must be a boolean.
    at validatePlugins (F:\ZCK_Cloud\Projects\YDHL\angular_ydhl\huanbao\Environment(parkAdmin)\node_modules\_@babel_parser@7.0.0@@babel\parser\lib\index.js:10407:13)
    at getParser (F:\ZCK_Cloud\Projects\YDHL\angular_ydhl\huanbao\Environment(parkAdmin)\node_modules\_@babel_parser@7.0.0@@babel\parser\lib\index.js:10464:5)
    at parse (F:\ZCK_Cloud\Projects\YDHL\angular_ydhl\huanbao\Environment(parkAdmin)\node_modules\_@babel_parser@7.0.0@@babel\parser\lib\index.js:10448:12)
    at parser (F:\ZCK_Cloud\Projects\YDHL\angular_ydhl\huanbao\Environment(parkAdmin)\node_modules\_@babel_core@7.0.0@@babel\core\lib\transformation\normalize-file.js:170:34)
    at normalizeFile (F:\ZCK_Cloud\Projects\YDHL\angular_ydhl\huanbao\Environment(parkAdmin)\node_modules\_@babel_core@7.0.0@@babel\core\lib\transformation\normalize-file.js:138:11)
    at runSync (F:\ZCK_Cloud\Projects\YDHL\angular_ydhl\huanbao\Environment(parkAdmin)\node_modules\_@babel_core@7.0.0@@babel\core\lib\transformation\index.js:44:43)
    at runAsync (F:\ZCK_Cloud\Projects\YDHL\angular_ydhl\huanbao\Environment(parkAdmin)\node_modules\_@babel_core@7.0.0@@babel\core\lib\transformation\index.js:35:14)
    at process.nextTick (F:\ZCK_Cloud\Projects\YDHL\angular_ydhl\huanbao\Environment(parkAdmin)\node_modules\_@babel_core@7.0.0@@babel\core\lib\transform.js:34:34)
    at process._tickCallback (internal/process/next_tick.js:61:11)
    at validatePlugins (F:\ZCK_Cloud\Projects\YDHL\angular_ydhl\huanbao\Environment(parkAdmin)\node_modules\_@babel_parser@7.0.0@@babel\parser\lib\index.js:10407:13)
    at getParser (F:\ZCK_Cloud\Projects\YDHL\angular_ydhl\huanbao\Environment(parkAdmin)\node_modules\_@babel_parser@7.0.0@@babel\parser\lib\index.js:10464:5)
    at parse (F:\ZCK_Cloud\Projects\YDHL\angular_ydhl\huanbao\Environment(parkAdmin)\node_modules\_@babel_parser@7.0.0@@babel\parser\lib\index.js:10448:12)
    at parser (F:\ZCK_Cloud\Projects\YDHL\angular_ydhl\huanbao\Environment(parkAdmin)\node_modules\_@babel_core@7.0.0@@babel\core\lib\transformation\normalize-file.js:170:34)
    at normalizeFile (F:\ZCK_Cloud\Projects\YDHL\angular_ydhl\huanbao\Environment(parkAdmin)\node_modules\_@babel_core@7.0.0@@babel\core\lib\transformation\normalize-file.js:138:11)
    at runSync (F:\ZCK_Cloud\Projects\YDHL\angular_ydhl\huanbao\Environment(parkAdmin)\node_modules\_@babel_core@7.0.0@@babel\core\lib\transformation\index.js:44:43)
    at runAsync (F:\ZCK_Cloud\Projects\YDHL\angular_ydhl\huanbao\Environment(parkAdmin)\node_modules\_@babel_core@7.0.0@@babel\core\lib\transformation\index.js:35:14)
    at process.nextTick (F:\ZCK_Cloud\Projects\YDHL\angular_ydhl\huanbao\Environment(parkAdmin)\node_modules\_@babel_core@7.0.0@@babel\core\lib\transform.js:34:34)
    at process._tickCallback (internal/process/next_tick.js:61:11)
    at Object.<anonymous> (http://localhost:8000/index.js:15146:7)
    at __webpack_require__ (http://localhost:8000/index.js:679:30)
    at fn (http://localhost:8000/index.js:89:20)
    at Object.<anonymous> (http://localhost:8000/index.js:4316:18)
    at __webpack_require__ (http://localhost:8000/index.js:679:30)
    at module.exports (http://localhost:8000/index.js:725:38)
    at http://localhost:8000/index.js:728:10
May.12,2021

, cnpm install installation is normal with npm install installation


https://github.com/ant-design.
continues to follow the official github issue

Menu