Size: a a a

Советский Angular

2020 October 27

Вキ

Вертихвост キバ 🏡🦊... in Советский Angular
Arams Tomojans
прикольный эффект на видео)
укачивает)
источник

AT

Arams Tomojans in Советский Angular
особенно если выпить перед просмотром)
источник

VV

Vladimir Verbitskiy in Советский Angular
Вертихвост キバ 🏡🦊
да) скидывай png, минимальная сторона 512px, с прозрачным фоном
источник

Вキ

Вертихвост キバ 🏡🦊... in Советский Angular
png)
источник

DK

Danil Kavaliou in Советский Angular
Народ,
Подскажите кто работал с dynamic lazy loading.
не могу нагуглить что где смотреть.

Проблема следующая. Есть несколько модулей. Они подтягиваются через loadChildren примерно так :
loadChildren: () => import('./pages/[comp_name]/[comp_name].module').then(m => m.[comp_name]Module),

Есть пару роутов. Один не работает
Во время перехода роута на страницу выкидывает в консоль ошибку

sentry-error-handler.service.ts:39 Error: Uncaught (in promise): Error: Angular JIT compilation failed: '@angular/compiler' not loaded!
 - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.
 - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?
 - Alternatively provide the compiler with 'import "@angular/compiler";' before bootstrapping.
Error: Angular JIT compilation failed: '@angular/compiler' not loaded!
 - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.
 - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?
 - Alternatively provide the compiler with 'import "@angular/compiler";' before bootstrapping.
   at getCompilerFacade (core.js:636)
   at Function.get (core.js:38878)
   at getNgModuleDef (core.js:2199)
   at new NgModuleFactory$1 (core.js:36080)
   at Compiler_compileModuleSync__POST_R3__ (core.js:40687)
   at Compiler_compileModuleAsync__POST_R3__ [as compileModuleAsync] (core.js:40700)
   at MergeMapSubscriber.project (router.js:6455)
   at MergeMapSubscriber._tryNext (mergeMap.js:46)
   at MergeMapSubscriber._next (mergeMap.js:36)
   at MergeMapSubscriber.next (Subscriber.js:49)
   at resolvePromise (zone-evergreen.js:798)
   at resolvePromise (zone-evergreen.js:750)
   at zone-evergreen.js:860
   at ZoneDelegate.invokeTask (zone-evergreen.js:399)
   at Object.onInvokeTask (core.js:41264)
   at ZoneDelegate.invokeTask (zone-evergreen.js:398)
   at Zone.runTask (zone-evergreen.js:167)
   at drainMicroTaskQueue (zone-evergreen.js:569)
   at ZoneTask.invokeTask [as invoke] (zone-evergreen.js:484)
   at invokeTask (zone-evergreen.js:1621)
источник

VV

Vladimir Verbitskiy in Советский Angular
так это пнг
источник

VV

Vladimir Verbitskiy in Советский Angular
а, лол
источник

Вキ

Вертихвост キバ 🏡🦊... in Советский Angular
ага)
источник

VV

Vladimir Verbitskiy in Советский Angular
походу телега такие приколы иполняет
источник

Вキ

Вертихвост キバ 🏡🦊... in Советский Angular
Vladimir Verbitskiy
походу телега такие приколы иполняет
это все еще не png с прозрачным фоном)
источник

VV

Vladimir Verbitskiy in Советский Angular
лан, хрен с ним. потом найду))
источник

ДМ

Денис Макаров... in Советский Angular
Danil Kavaliou
Народ,
Подскажите кто работал с dynamic lazy loading.
не могу нагуглить что где смотреть.

Проблема следующая. Есть несколько модулей. Они подтягиваются через loadChildren примерно так :
loadChildren: () => import('./pages/[comp_name]/[comp_name].module').then(m => m.[comp_name]Module),

Есть пару роутов. Один не работает
Во время перехода роута на страницу выкидывает в консоль ошибку

sentry-error-handler.service.ts:39 Error: Uncaught (in promise): Error: Angular JIT compilation failed: '@angular/compiler' not loaded!
 - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.
 - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?
 - Alternatively provide the compiler with 'import "@angular/compiler";' before bootstrapping.
Error: Angular JIT compilation failed: '@angular/compiler' not loaded!
 - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.
 - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?
 - Alternatively provide the compiler with 'import "@angular/compiler";' before bootstrapping.
   at getCompilerFacade (core.js:636)
   at Function.get (core.js:38878)
   at getNgModuleDef (core.js:2199)
   at new NgModuleFactory$1 (core.js:36080)
   at Compiler_compileModuleSync__POST_R3__ (core.js:40687)
   at Compiler_compileModuleAsync__POST_R3__ [as compileModuleAsync] (core.js:40700)
   at MergeMapSubscriber.project (router.js:6455)
   at MergeMapSubscriber._tryNext (mergeMap.js:46)
   at MergeMapSubscriber._next (mergeMap.js:36)
   at MergeMapSubscriber.next (Subscriber.js:49)
   at resolvePromise (zone-evergreen.js:798)
   at resolvePromise (zone-evergreen.js:750)
   at zone-evergreen.js:860
   at ZoneDelegate.invokeTask (zone-evergreen.js:399)
   at Object.onInvokeTask (core.js:41264)
   at ZoneDelegate.invokeTask (zone-evergreen.js:398)
   at Zone.runTask (zone-evergreen.js:167)
   at drainMicroTaskQueue (zone-evergreen.js:569)
   at ZoneTask.invokeTask [as invoke] (zone-evergreen.js:484)
   at invokeTask (zone-evergreen.js:1621)
m.[comp_name]Module вот так работать не будет
источник

Вキ

Вертихвост キバ 🏡🦊... in Советский Angular
Vladimir Verbitskiy
походу телега такие приколы иполняет
пробуй
источник

ДМ

Денис Макаров... in Советский Angular
Danil Kavaliou
Народ,
Подскажите кто работал с dynamic lazy loading.
не могу нагуглить что где смотреть.

Проблема следующая. Есть несколько модулей. Они подтягиваются через loadChildren примерно так :
loadChildren: () => import('./pages/[comp_name]/[comp_name].module').then(m => m.[comp_name]Module),

Есть пару роутов. Один не работает
Во время перехода роута на страницу выкидывает в консоль ошибку

sentry-error-handler.service.ts:39 Error: Uncaught (in promise): Error: Angular JIT compilation failed: '@angular/compiler' not loaded!
 - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.
 - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?
 - Alternatively provide the compiler with 'import "@angular/compiler";' before bootstrapping.
Error: Angular JIT compilation failed: '@angular/compiler' not loaded!
 - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.
 - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?
 - Alternatively provide the compiler with 'import "@angular/compiler";' before bootstrapping.
   at getCompilerFacade (core.js:636)
   at Function.get (core.js:38878)
   at getNgModuleDef (core.js:2199)
   at new NgModuleFactory$1 (core.js:36080)
   at Compiler_compileModuleSync__POST_R3__ (core.js:40687)
   at Compiler_compileModuleAsync__POST_R3__ [as compileModuleAsync] (core.js:40700)
   at MergeMapSubscriber.project (router.js:6455)
   at MergeMapSubscriber._tryNext (mergeMap.js:46)
   at MergeMapSubscriber._next (mergeMap.js:36)
   at MergeMapSubscriber.next (Subscriber.js:49)
   at resolvePromise (zone-evergreen.js:798)
   at resolvePromise (zone-evergreen.js:750)
   at zone-evergreen.js:860
   at ZoneDelegate.invokeTask (zone-evergreen.js:399)
   at Object.onInvokeTask (core.js:41264)
   at ZoneDelegate.invokeTask (zone-evergreen.js:398)
   at Zone.runTask (zone-evergreen.js:167)
   at drainMicroTaskQueue (zone-evergreen.js:569)
   at ZoneTask.invokeTask [as invoke] (zone-evergreen.js:484)
   at invokeTask (zone-evergreen.js:1621)
ангуляр во время сборки приложения ищет все loadChildren и строит из них мапу, при этом там четкая проверка в ast на наличие m.ModuleName. Других выражений он там не ждет
источник

VV

Vladimir Verbitskiy in Советский Angular
@angular_fox_sticker_bot ммм сырочек
источник

VV

Vladimir Verbitskiy in Советский Angular
источник

Вキ

Вертихвост キバ 🏡🦊... in Советский Angular
почти получилось)
источник

ДМ

Денис Макаров... in Советский Angular
Danil Kavaliou
Народ,
Подскажите кто работал с dynamic lazy loading.
не могу нагуглить что где смотреть.

Проблема следующая. Есть несколько модулей. Они подтягиваются через loadChildren примерно так :
loadChildren: () => import('./pages/[comp_name]/[comp_name].module').then(m => m.[comp_name]Module),

Есть пару роутов. Один не работает
Во время перехода роута на страницу выкидывает в консоль ошибку

sentry-error-handler.service.ts:39 Error: Uncaught (in promise): Error: Angular JIT compilation failed: '@angular/compiler' not loaded!
 - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.
 - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?
 - Alternatively provide the compiler with 'import "@angular/compiler";' before bootstrapping.
Error: Angular JIT compilation failed: '@angular/compiler' not loaded!
 - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.
 - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?
 - Alternatively provide the compiler with 'import "@angular/compiler";' before bootstrapping.
   at getCompilerFacade (core.js:636)
   at Function.get (core.js:38878)
   at getNgModuleDef (core.js:2199)
   at new NgModuleFactory$1 (core.js:36080)
   at Compiler_compileModuleSync__POST_R3__ (core.js:40687)
   at Compiler_compileModuleAsync__POST_R3__ [as compileModuleAsync] (core.js:40700)
   at MergeMapSubscriber.project (router.js:6455)
   at MergeMapSubscriber._tryNext (mergeMap.js:46)
   at MergeMapSubscriber._next (mergeMap.js:36)
   at MergeMapSubscriber.next (Subscriber.js:49)
   at resolvePromise (zone-evergreen.js:798)
   at resolvePromise (zone-evergreen.js:750)
   at zone-evergreen.js:860
   at ZoneDelegate.invokeTask (zone-evergreen.js:399)
   at Object.onInvokeTask (core.js:41264)
   at ZoneDelegate.invokeTask (zone-evergreen.js:398)
   at Zone.runTask (zone-evergreen.js:167)
   at drainMicroTaskQueue (zone-evergreen.js:569)
   at ZoneTask.invokeTask [as invoke] (zone-evergreen.js:484)
   at invokeTask (zone-evergreen.js:1621)
или [] - означает просто имя модуля?
источник

VV

Vladimir Verbitskiy in Советский Angular
источник

VV

Vladimir Verbitskiy in Советский Angular
ура)
источник