Closed ghost closed 6 years ago
I cloned this repository.After yarn, and i run yarn run dev,
yarn
yarn run dev
will cause Couldn't find preset "es2015" relative to directory {my directory} problem.
I tried node v9.0.0 and v8.9.0, and my npm version is v5.5.1.
I added .babelrc file to project, it worked.
It works without .babelrc now :)
I can't build without babelrc, node 8.11.1
I cloned this repository.After
yarn
, and i runyarn run dev
,will cause Couldn't find preset "es2015" relative to directory {my directory} problem.
I tried node v9.0.0 and v8.9.0, and my npm version is v5.5.1.
I added .babelrc file to project, it worked.