Skip to content

Failed to instantiate module #48

@RaulMarquezInclan

Description

@RaulMarquezInclan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions