Error: Cannot find module 'core-js/modules/es6.regexp.constructor'

Error

10% building 2/2 modules 0 active ERROR Error: Cannot find module 'core-js/modules/es6.regexp.constructor' Error: Cannot find module 'core-js/modules/es6.regexp.constructor'

解决方法

package.json //添加core-js: ^2.6.8

"dependencies": {
//添加
 "core-js": "^2.6.8"
}

你可能感兴趣的:(Error: Cannot find module 'core-js/modules/es6.regexp.constructor')