vim typescriptreact ‘redrawtime’ exceeded, syntax highlighting disabled

I am a front-end developer, and I use vim as my editor for daily use. Sometimes I need to program React.js in TypeScript, but there are some troubles in vim when I want the syntax highlight for React.js & TypeScript. I try several packages, and there are some different problems… Such as this: I tried…

SyntaxError: Unexpected token when using react-script test

Environment I created my project by create-react-app, and running test using its react-script test. node version: 10.15.3 npm version: 6.4.1 react-scripts: 3.0.1 What happened? When running test command (npm run test), I got this error message: