Thief of Wealth

Error: Requires Babel "^7.0.0-0", but was loaded with "6.26.3". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel

 

 

갑자기 nodejs 서버를 실행하려는데 저런에러가 뜬다면 babel버전문제이다.

 

yarn remove babel-cli babel-core 로 제거해주고 (npm 이면 uninstall)

yarn add babel-core@^7.0.0-bridge.0

 

로 재설치 해주자.

 

profile on loading

Loading...