ember-cli-clock
ember-cli-clock copied to clipboard
Doesn't scaffold property in a pod structure
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.
Actually, I think the import error is a red herring, possibly due to out of date dependencies of this library