bclinkinbeard / angular

AngularJS compiled with jsdom and provided as a CommonJS module. Intended for testing AngularJS code without depending on a browser.
MIT License
54 stars 22 forks source link

Module not defined error #18

Closed j0hnsmith closed 10 years ago

j0hnsmith commented 10 years ago

I get this error just by doing require('angular'); (my script doesn't contain any other code), I'm using 1.2.19 with browserify.

[$injector:nomod] Module 'ngLocale' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
bclinkinbeard commented 10 years ago

I'm not seeing that. Download http://cl.ly/1z3u423T0O3m, run npm start, then open index.html in your browser to confirm.

j0hnsmith commented 10 years ago

Hmm, thanks for taking a look.