[babelify --stage 0]
argument
Browserify: /Users/macbookair/Sites/dude-buddy/node_modules/.bin/browserifyinc -t [babelify --stage 0] --extension=".jsx" --list --cachefile=\"/Users/macbookair/Sites/dude-buddy/tmp/cache/browserify-rails/browserifyinc-cache.json\" -o "/Users/macbookair/Sites/dude-buddy/tmp/cache/browserify-rails/output20150623-8917-3wlawr" -
Browserify: /Users/macbookair/Sites/dude-buddy/node_modules/.bin/browserifyinc -t [babelify --stage 0] --extension=".jsx" --cachefile=\"/Users/macbookair/Sites/dude-buddy/tmp/cache/browserify-rails/browserifyinc-cache.json\" -o "/Users/macbookair/Sites/dude-buddy/tmp/cache/browserify-rails/output20150623-8917-5nqdxw" -
//= require 'bla'
anymore and instead use require('bla')
)
Hey guys, Wondering if you might offer me some advice: I have downloaded 'material-ui' package and added to my package.json file through NPM. It is displaying in my package.json file. However, I'm not able to access components like AppBar as my browser is telling me it's not defined. I've attempted adding a global variable in my application.js file, but this isn actually crashing the app:
var MaterialUI = require('material-ui');
I'm using Rails 4 and Ruby 2.1 with Browserify. Definitely frustrating, I just can't figure out what I'm doing wrong. Thank you for any help/pointers in the right direction you can give me!