I'm submitting a ... (check one with "x")
[x] bug report => check the FAQ and search github for a similar issue or PR before submitting
[ ] support request => check the FAQ and search github for a similar issue before submitting
[ ] feature request
Test specs

Error output

Please tell us about your environment:
Hello, you have to call "forRoot" when you import the module so that it creates an instance of the service: TranslateModule.forRoot().
I tried to add .forRoot() but it still does not work.

Same error

You probably need to import it in the two testing modules that you're creating
Removed other module but don't know why it's still the same.

No idea either then :-/
I have a similar problem with Angular Universal using this lib, the problem is the server side rendering, If I import this lib inside the module of server i get an alert of Md5 get cookie or something.. because this lib use a own http module and Universal use other. Aswell I import the module using the isBrowser condition but get the error of "No provider for translate service" because we import the service but obviously dont have a Module when is Node
The HttpModule is no longer part of the core in the version 6.
Yep, i know that but in the version 6 when import the Translate Module in the Shared Module I get:
Unexpected value 'TranslateModule' imported by the module 'SharedModule'
My bad. I forgot to import TranslateModule in its parent testing module. Close this issue.
import this one into your spec file import {} from 'jasmine';
it resolves the issue
Most helpful comment
Hello, you have to call "forRoot" when you import the module so that it creates an instance of the service:
TranslateModule.forRoot().