core: Uncaught TypeError: core_1.NgModule is not a function
I’ve done the setup according to the documentation however, I receive the following error:
Uncaught TypeError: core_1.NgModule is not a function
That shows these lines:
/**
* This module doesn't provide a Translate Loader, you will have to provide one for yourself
*/
@NgModule({
imports: [],
declarations: [
TranslatePipe
],
exports: [
TranslatePipe
]
})
What’s the issue?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 18
Actually I already found the solution 😃 In my case I did bootstraping of two applications: one is written on angular 1 and second is on angular 2:
Here is ‘./angular2/upgrade-adapter’ content:
So, this works fine for me 😃