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

Uncaught ReferenceError: compileServiceConfig is not defined #15

Open
mraible opened this issue Oct 5, 2016 · 2 comments · May be fixed by #16
Open

Uncaught ReferenceError: compileServiceConfig is not defined #15

mraible opened this issue Oct 5, 2016 · 2 comments · May be fixed by #16

Comments

@mraible
Copy link

mraible commented Oct 5, 2016

After installing this plugin, it worked locally. However, after I deploy to Heroku (or upgrade JHipster), there's an error:

Uncaught ReferenceError: compileServiceConfig is not defined
@mraible
Copy link
Author

mraible commented Oct 5, 2016

To fix, _bootstrap-material.config.js needs to be:

(function() {
    'use strict';

    angular
        .module('<%=angularAppName%>')
        .config(bootstrapMaterialDesignConfig);

    bootstrapMaterialDesignConfig.$inject = [];

    function bootstrapMaterialDesignConfig() {
        $.material.init();
    }
})();

@moifort
Copy link
Owner

moifort commented Oct 5, 2016

Thanks I will do the fix

svict4 added a commit to svict4/generator-jhipster-bootstrap-material-design that referenced this issue Jan 23, 2017
@svict4 svict4 linked a pull request Jan 23, 2017 that will close this issue
danimaniarqsoft added a commit to dads-software-brotherhood/kukulkan-craftsman that referenced this issue Aug 17, 2017
fix the bootstrapMaterialDesignConfig file according to:

moifort/generator-jhipster-bootstrap-material-design#15
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

Successfully merging a pull request may close this issue.

2 participants