Could not find plugin “proposal-numeric-separator”

后端 未结 18 1138
情深已故
情深已故 2020-12-08 00:04

How to fix Could not find plugin \"proposal-numeric-separator\", I get this error when I try to build my React application, I have not ejected the application y

18条回答
  •  执念已碎
    2020-12-08 00:14

    In package.json

      "dependencies": {
        "@babel/compat-data": "7.8.0",
        "@babel/plugin-proposal-numeric-separator": "^7.8.3",
        "babel-loader": "^8.1.0",
      ....
      "resolutions": {
         "@babel/preset-env": "^7.8.7"
      }
    

    it is working for me. You can read more

    https://github.com/angular/angular-cli/issues/17262#issuecomment-603396857

提交回复
热议问题