Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working with webpack and NPM #58

Open
facultymatt opened this issue Oct 13, 2016 · 1 comment
Open

Working with webpack and NPM #58

facultymatt opened this issue Oct 13, 2016 · 1 comment

Comments

@facultymatt
Copy link

Anyone have luck getting this working with webpack and NPM?

With the following code:

require('angular-dc');
angular.module('app', ['angularDc'])

I get the following error

angular.js:68Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to:
Error: [$injector:modulerr] Failed to instantiate module angularDc due to:
Error: [$injector:nomod] Module 'angularDc' 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.
http://errors.angularjs.org/1.5.8/$injector/nomod?p0=angularDc
    at http://localhost:3000/index.js:8421:12
    at http://localhost:3000/index.js:10435:17
    at ensure (http://localhost:3000/index.js:10359:38)
@sallespro
Copy link

did you browserify your required module ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants