Skip to content

Uncaught Error: Could not find module  #16

Description

@NiQ-B

Receiving this issue: Uncaught Error: Could not find module ember-cli-chosen/components/ember-chosen imported from squarematics/components/ember-chosen

vendor.js:14338 DEBUG: Ember : 1.13.0-beta.1+canary.41542c6f
vendor.js:14338 DEBUG: Ember Data : 1.0.0-beta.17+canary.dcaf77bdc8
vendor.js:14338 DEBUG: jQuery : 2.1.3
vendor.js:14338 DEBUG: Ember Simple Auth : 0.8.0-beta.1
vendor.js:14338 DEBUG: Ember Simple Auth Devise : 0.8.0-beta.1
vendor.js:14338 DEBUG: Ember C3 : 0.1.2

Bower: "chosen": "https://github.com/harvesthq/chosen/releases/download/v1.3.0/chosen_v1.3.0.zip"
NPM: "ember-cli-chosen": "https://github.com/green-arrow/ember-cli-chosen/tarball/master"

Not sure where to begin to debug this. I see in both vendor.js and squarematics.js the component loading the correct files.

What I don't see is the jquery plugin loading with $.chosen. I believe there has been changes where libraries with incorrect AMD parameters are failing silently.

FYI this worked correctly on ember-cli ^0.1.15 ember 1.11. Also really not sure if this is an ember-cli-chosen issue that is just the error showing.

Thanks for your help in advance.

****** Updated ******
I was in error. There wasn't a $.chosen but there was a global Chosen.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions