React mobx error Missing class properties transform

1 react mobx project execution will report an error react mobx error Missing class properties transform, has installed transform-decorators-legacy and transform-class-properties, I don"t know what went wrong

store/countStore.js

import { observable, action, computed, runInAction, autorun, extendObservable } from "mobx";
class CountStore {
   @observable num = 0;
   constructor(props){
     
   }
}

export default CountStore;

components/index.jsx

import React, { Component } from "react";
import { render } from "react-dom";
import Bottom from "./index/bottom";
import Bodys from "./index/bodys";
import Top from "./index/top";
import CountStore from "../store/countStore";
const CountStores  = new CountStore();
var arr=[1,2,3,4];
var arrs=[{
    a:"d"
},
{
    a:"b"
}]
class Index extends Component {
    constructor(props){
        super(props);
    }
    render(){
        return <div id="index">
        <div>123132</div>
            <Top id="top" kkk={arr}  dataid={arrs}></Top>
            <Bodys id="bodys" countstore="{CountStores}">744855</Bodys>
            <Bottom id="bottom">213213</Bottom>
        </div>
    }

}



export default Index;

error screenshot

clipboard.png

package.json

clipboard.png

.babelrc

clipboard.png

Jul.06,2021

clipboard.png solved
if you add precompilation to webpack, you won't report an error, but you can't add it to babelrc. I don't know why

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e89a4f-46d39.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e89a4f-46d39.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?