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

Doesn't scaffold property in a pod structure #9

Open
adambullmer opened this issue Sep 4, 2018 · 1 comment
Open

Doesn't scaffold property in a pod structure #9

adambullmer opened this issue Sep 4, 2018 · 1 comment

Comments

@adambullmer
Copy link

When a project is configured to use a pod structure, this addon doesn't scaffold into the appropriate location.

expected (example assumes config/environment.js to have no podModulePrefix set)

ember g clock my-clock --pod

installing service
  create app/my-clock/service.js
installing service-test
  create tests/unit/my-clock/service-test.js

actual

ember g clock my-clock --pod

installing service
  create app/services/my-clock.js

Running the app will give an import error: Uncaught Error: Cannot find module 'my-project/services/my-clock' and is resolved upon moving the file to the appropriate pod structure location.

@adambullmer
Copy link
Author

Actually, I think the import error is a red herring, possibly due to out of date dependencies of this library

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

1 participant