I’ve googled my butt off and I don’t see any way to get this library loaded into ember.
I’ve gone through all this.
bower install node-uuid --save # Brocfile.js app.import('bower_components/node-uuid/uuid.js');
And I’ve tried all sorts of variations of this
var uuid = require('uuid') # require is not defined (it was also installed under node_modules) uuid.v2() # undefined import uuid from 'node-uuid' # Could not find module `node-uuid` import uuid from 'uuid' # Could not find module `uuid`
I’ve had no problems with getting app.import() working with things like bootstrap, simple-uuid, etc. What is so incompatable to ember about this particular bower package? Shouldn’t a apparently popular node module, that was even bower-ized, just plug and play in ember.js?