按照网上说的改了这个
"scripts": {
"start": "craco start",
"build": "export NODE_OPTIONS=--max_old_space_size=8192&&craco build",
"test": "craco test",
"testAll": "craco test .",
"testLocal": "craco test --coverage --watchAll",
"eject": "craco eject"
},
也重装了ESlint loader,
重装了node_modules,都没用,还是报错