Granze / react-starterify

A minimal React JS application starter kit
http://granze.github.io/react-starterify/
665 stars 71 forks source link

Some problems running gulp tasks #23

Closed nopestack closed 8 years ago

nopestack commented 8 years ago

Hey, I just downloaded and tried to run several tasks and gulp threw me this:

[18:57:29] Requiring external module babel-core/register
/home/USERNAME/workspace/projects/reacty_app_levelup/react-starterify-2.1.2/node_modules/babel-core/lib/transformation/file/options/option-manager.js:126
      if (!option) this.log.error("Unknown option: " + alias + "." + key, ReferenceError);
                           ^

TypeError: Cannot read property 'error' of undefined

Already ran npm install, deleted everything and tried again to no avail.

I'm just getting started and I have no idea what went wrong. That output is what i get when trying to run gulp watch gulp build and any other task.

nopestack commented 8 years ago

Nevermind i'm just dumb, in the gulpfile.babel.js I just needed to add 'use strict'; right before the imports so Node could run them. Closing this issue now.