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

Couldn't find module after installing ember-data-factory-guy 1.13.0 #103

Closed
rachid opened this issue Jul 1, 2015 · 6 comments
Closed

Couldn't find module after installing ember-data-factory-guy 1.13.0 #103

rachid opened this issue Jul 1, 2015 · 6 comments

Comments

@rachid
Copy link

rachid commented Jul 1, 2015

I am working with the latest versions of Ember-cli (0.2.7)
Latest stable version of Ember.js and Ember-data 1.13.0

When running a test I am getting a message which states the module cannot be found.

Died on test #1 at http://localhost:7357/assets/test-support.js:2846
at http://localhost:7357/assets/test-support.js:5611
at http://localhost:7357/assets/test-loader.js:31
at http://localhost:7357/assets/test-loader.js:21
at http://localhost:7357/assets/test-loader.js:40
at http://localhost:7357/assets/test-support.js:5618: Could not find module ember-data-factory-guy imported from frontend/tests/unit/models/person-test

Am I missing something here?

Already tried to reinitiate the test part of my ember-cli applications, remove packages and reinstalled (bower / npm)

However, I can run ember g factory .... succesfully

Am I missing something, do I need to initialize the addon manually?

@danielspaniel
Copy link
Collaborator

which version of ember-data are you using?

@danielspaniel
Copy link
Collaborator

Oops, ok .. I see you said ember-data 1.3.0 .. can you send me the test? and then switch to ember-data 1.3.4 ( much more stable that 1.3.0 )

@rachid
Copy link
Author

rachid commented Jul 1, 2015

@danielspaniel Thanks, I created a new project, now it works. I think screwed something somewhere in upgrading to latest versions. I'll digg further and I will inform you when something interesting pops up.

@rachid rachid closed this as completed Jul 1, 2015
@danielspaniel
Copy link
Collaborator

Ok .. glad to hear it worked @rachid .. I was hoping it would be something like that.

@azuruce
Copy link

azuruce commented Sep 14, 2017

have the same issue but is resolved after runing "npm prune", "ember install ember-data-factory-guy

@danielspaniel
Copy link
Collaborator

glad you got it working @azuruce

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