From 9ac16b1b9328755907244fde68c03b26dc388532 Mon Sep 17 00:00:00 2001 From: Jordan Papaleo Date: Tue, 19 Apr 2016 14:17:15 -0700 Subject: [PATCH] Cant find preset es2015 error `Couldn't find preset "es2015" relative to directory`. I was getting this error when I ran `npm run watch`. I noticed that project did not have the babel config file so I added it. It resolved the issue. --- .babelrc | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .babelrc diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..9b7d435 --- /dev/null +++ b/.babelrc @@ -0,0 +1,3 @@ +{ + "presets": ["es2015", "stage-0", "react"] +}