You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
ng g component myTest
ng g component my-test/mySettings
ng g service my-test/my-settings/shared/mySettings
The log given by the failure. Normally this include a stack trace and some
more information. no error returned from CLI
Mention any other details that might be useful.
The exports in the index.ts file at the service level (src/app/my-test/my-settings/shared/index.ts) exports the incorrect file. It should be: export * from './my-settings.service'
but instead is: export * from './mySettings.service'
Thanks! We'll be in touch soon.
The text was updated successfully, but these errors were encountered:
same issue when service in myTest component's shared folder:
ng g service my-test/shared/mySettings
esinek
changed the title
Service export in index.ts incorrect when 2 components deep
Service in component shared folder - export in index.ts is incorrect
Jul 28, 2016
Windows 7
ng --version
. If there's nothing outputted, please runin a Terminal:
node --version
and paste the result here:do on your code? etc.
more information.
no error returned from CLI
The exports in the index.ts file at the service level (src/app/my-test/my-settings/shared/index.ts) exports the incorrect file. It should be:
export * from './my-settings.service'
but instead is:
export * from './mySettings.service'
The text was updated successfully, but these errors were encountered: