cj-wang / mean-start-2 Goto Github PK
View Code? Open in Web Editor NEWFull stack Angular + Nest + Universal.
License: MIT License
Full stack Angular + Nest + Universal.
License: MIT License
I reached this repo from your comment on the issue here -
akveo/ngx-admin#1364 (comment)
I'm basically trying to implement Angular Universal myself on the Ngx-admin, however I'm facing a particular static injection provider error related to NbMenuService
Was wondering if you came across that issue and how you solved it.
More details are in this github issue - akveo/ngx-admin#5582
**I'm submitting a bug report
Current behavior:
'npm install' does not work on the freshly cloned project
Expected behavior:
'npm install' should work
Steps to reproduce:
NPM --version 6.0.0, NODE --version v8.11.1
OS: Windows 10
IDEA ide.
Angular, Nebular
<!--
Check your `package-lock.json` or locate a `package.json` in the `node_modules` folder.
-->
ERROR { Error: Uncaught (in promise): Error: No component factory found for NbAuthComponent. Did you add it to @NgModule.entryComponents?
Error: No component factory found for NbAuthComponent. Did you add it to @NgModule.entryComponents?
at noComponentFactoryError (C:\Users\cwang\git\mean-start-2\dist\server.js:10348:17)
at CodegenComponentFactoryResolver.resolveComponentFactory (C:\Users\cwang\git\mean-start-2\dist\server.js:10386:19)
at RouterOutlet.activateWith (C:\Users\cwang\git\mean-start-2\dist\server.js:228860:32)
at ActivateRoutes.activateRoutes (C:\Users\cwang\git\mean-start-2\dist\server.js:226120:40)
at C:\Users\cwang\git\mean-start-2\dist\server.js:226071:19
at Array.forEach (<anonymous>)
at ActivateRoutes.activateChildRoutes (C:\Users\cwang\git\mean-start-2\dist\server.js:226070:29)
at ActivateRoutes.activate (C:\Users\cwang\git\mean-start-2\dist\server.js:225995:14)
at MapSubscriber.project (C:\Users\cwang\git\mean-start-2\dist\server.js:225979:14)
at MapSubscriber._next (C:\Users\cwang\git\mean-start-2\dist\server.js:28318:35)
at resolvePromise (C:\Users\cwang\git\mean-start-2\dist\server.js:98666:31)
at resolvePromise (C:\Users\cwang\git\mean-start-2\dist\server.js:98623:17)
at C:\Users\cwang\git\mean-start-2\dist\server.js:98725:17
at ZoneDelegate.invokeTask (C:\Users\cwang\git\mean-start-2\dist\server.js:98273:31)
at Object.onInvokeTask (C:\Users\cwang\git\mean-start-2\dist\server.js:17753:33)
at ZoneDelegate.invokeTask (C:\Users\cwang\git\mean-start-2\dist\server.js:98272:36)
at Zone.runTask (C:\Users\cwang\git\mean-start-2\dist\server.js:98040:47)
at drainMicroTaskQueue (C:\Users\cwang\git\mean-start-2\dist\server.js:98447:35)
at ZoneTask.invokeTask (C:\Users\cwang\git\mean-start-2\dist\server.js:98352:21)
at Server.ZoneTask.invoke (C:\Users\cwang\git\mean-start-2\dist\server.js:98337:48)
rejection: { Error: No component factory found for NbAuthComponent. Did you add it to @NgModule.entryComponents?
at noComponentFactoryError (C:\Users\cwang\git\mean-start-2\dist\server.js:10348:17)
at CodegenComponentFactoryResolver.resolveComponentFactory (C:\Users\cwang\git\mean-start-2\dist\server.js:10386:19)
at RouterOutlet.activateWith (C:\Users\cwang\git\mean-start-2\dist\server.js:228860:32)
at ActivateRoutes.activateRoutes (C:\Users\cwang\git\mean-start-2\dist\server.js:226120:40)
at C:\Users\cwang\git\mean-start-2\dist\server.js:226071:19
at Array.forEach (<anonymous>)
at ActivateRoutes.activateChildRoutes (C:\Users\cwang\git\mean-start-2\dist\server.js:226070:29)
at ActivateRoutes.activate (C:\Users\cwang\git\mean-start-2\dist\server.js:225995:14)
at MapSubscriber.project (C:\Users\cwang\git\mean-start-2\dist\server.js:225979:14)
at MapSubscriber._next (C:\Users\cwang\git\mean-start-2\dist\server.js:28318:35) ngComponent: [Function: NbAuthComponent] },
promise:
ZoneAwarePromise {
__zone_symbol__state: 0,
__zone_symbol__value: { Error: No component factory found for NbAuthComponent. Did you add it to @NgModule.entryComponents?
at noComponentFactoryError (C:\Users\cwang\git\mean-start-2\dist\server.js:10348:17)
at CodegenComponentFactoryResolver.resolveComponentFactory (C:\Users\cwang\git\mean-start-2\dist\server.js:10386:19)
at RouterOutlet.activateWith (C:\Users\cwang\git\mean-start-2\dist\server.js:228860:32)
at ActivateRoutes.activateRoutes (C:\Users\cwang\git\mean-start-2\dist\server.js:226120:40)
at C:\Users\cwang\git\mean-start-2\dist\server.js:226071:19
at Array.forEach (<anonymous>)
at ActivateRoutes.activateChildRoutes (C:\Users\cwang\git\mean-start-2\dist\server.js:226070:29)
at ActivateRoutes.activate (C:\Users\cwang\git\mean-start-2\dist\server.js:225995:14)
at MapSubscriber.project (C:\Users\cwang\git\mean-start-2\dist\server.js:225979:14)
at MapSubscriber._next (C:\Users\cwang\git\mean-start-2\dist\server.js:28318:35) ngComponent: [Function: NbAuthComponent] } },
zone:
Zone {
_properties: { isAngularZone: true },
_parent:
Zone {
_properties: {},
_parent: null,
_name: '<root>',
_zoneDelegate: [Object] },
_name: 'angular',
_zoneDelegate:
ZoneDelegate {
_taskCounts: [Object],
zone: [Circular],
_parentDelegate: [Object],
_forkZS: null,
_forkDlgt: null,
_forkCurrZone: [Object],
_interceptZS: null,
_interceptDlgt: null,
_interceptCurrZone: [Object],
_invokeZS: [Object],
_invokeDlgt: [Object],
_invokeCurrZone: [Circular],
_handleErrorZS: [Object],
_handleErrorDlgt: [Object],
_handleErrorCurrZone: [Circular],
_scheduleTaskZS: [Object],
_scheduleTaskDlgt: [Object],
_scheduleTaskCurrZone: [Circular],
_invokeTaskZS: [Object],
_invokeTaskDlgt: [Object],
_invokeTaskCurrZone: [Circular],
_cancelTaskZS: [Object],
_cancelTaskDlgt: [Object],
_cancelTaskCurrZone: [Circular],
_hasTaskZS: [Object],
_hasTaskDlgt: [Object],
_hasTaskDlgtOwner: [Circular],
_hasTaskCurrZone: [Circular] } },
task:
ZoneTask {
_zone:
Zone {
_properties: [Object],
_parent: [Object],
_name: 'angular',
_zoneDelegate: [Object] },
runCount: 0,
_zoneDelegates: null,
_state: 'notScheduled',
type: 'microTask',
source: 'Promise.then',
data: ZoneAwarePromise { __zone_symbol__state: 0, __zone_symbol__value: [Object] },
scheduleFn: undefined,
cancelFn: null,
callback: [Function],
invoke: [Function] } }
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.