Skip to content

Failed to instantiate module #48

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

Open
RaulMarquezInclan opened this issue Jun 12, 2017 · 1 comment
Open

Failed to instantiate module #48

RaulMarquezInclan opened this issue Jun 12, 2017 · 1 comment

Comments

@RaulMarquezInclan
Copy link

Hello,

I am getting this error:

Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to:
Error: [$injector:modulerr] Failed to instantiate module

image

This is where I import, the above error isn't about not finding the path of the module, I know this because I previously misspelled it which threw the actual path error, so as far a the correct path and folder go it's ok.

image

In the install guide they tell us to add these scripts to index.html:

<script src="bower_components/angular-data-grid/dist/pagination.min.js"></script>
<script src="bower_components/angular-data-grid/dist/dataGrid.min.js"></script>

When it loads these scripts I get this additional error:
image
So I don't think not including them is an issue (maybe it is?).

The html snippet in the first error image is an index.html file inside de angular-data-grid folder, I not sure why it's trying to read that as the module name.

How can I fix this? Thanks in advance.

@cbfx
Copy link

cbfx commented Jul 10, 2017

@RaulMarquezInclan this pull request will probably help resolve this issue: #45

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