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

Minification using Grunt Build (usemin) breaks app #105

Open
nroma opened this issue Aug 3, 2016 · 2 comments
Open

Minification using Grunt Build (usemin) breaks app #105

nroma opened this issue Aug 3, 2016 · 2 comments

Comments

@nroma
Copy link

nroma commented Aug 3, 2016

I made an AngularJS project using yeoman and related build tools.
Running the command:
grunt serve
everything is working as expected.

Running the command:
grunt serve:dist or grunt build
the generated app in dist folder is not working giving the following error:

vendor.f13d432c.js:1 Uncaught Error: [$injector:modulerr] Failed to instantiate module MyApp due to:
Error: [$injector:modulerr] Failed to instantiate module angular-inview due to:
Error: [$injector:nomod] Module 'angular-inview' 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.

I think is something related on usemin task for minification process.

Is anybody else experiencing this problem?

@thenikso
Copy link
Owner

strange, I never had minification issues. Also the error seams more like as if your build process is not including angular-inview in your vendors. could it be?

@Usama4745
Copy link

I am trying with gulp.js
same error like nroma is facing

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

3 participants