This repository was archived by the owner on Jan 6, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 763
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
StyleDirective throws renderer error '_ngEl.nativeElement.getAttribute is not a function' #408
Copy link
Copy link
Closed
Labels
P1Urgent issue that should be resolved before the next re-leaseUrgent issue that should be resolved before the next re-leasehas prA PR has been created to address this issueA PR has been created to address this issue
Milestone
Description
Trying to run @angular/flex-layout#2.0.0-beta.9
with universal and getting this error:
Unhandled Promise rejection: _ngEl.nativeElement.getAttribute is not a function ; Zone: <root> ; Task: Promise.then ; Value: { TypeError: _ngEl.nativeElement.getAttribute is not a function
at new StyleDirective (/user_code/node_modules/@angular/flex-layout/bundles/flex-layout.umd.js:3087:61)
at createClass (/user_code/node_modules/@angular/core/bundles/core.umd.js:10970:26)
at createDirectiveInstance (/user_code/node_modules/@angular/core/bundles/core.umd.js:10788:37)
at createViewNodes (/user_code/node_modules/@angular/core/bundles/core.umd.js:12229:49)
at callViewAction (/user_code/node_modules/@angular/core/bundles/core.umd.js:12675:13)
at execComponentViewsAction (/user_code/node_modules/@angular/core/bundles/core.umd.js:12584:13)
at createViewNodes (/user_code/node_modules/@angular/core/bundles/core.umd.js:12256:5)
at createRootView (/user_code/node_modules/@angular/core/bundles/core.umd.js:12124:5)
at Object.createProdRootView [as createRootView] (/user_code/node_modules/@angular/core/bundles/core.umd.js:12809:12)
at ComponentFactory_.create (/user_code/node_modules/@angular/core/bundles/core.umd.js:9896:46)
__zone_symbol__currentTask:
ZoneTask {
_zone:
Zone {
_properties: {},
_parent: null,
_name: '<root>',
_zoneDelegate: [Object] },
runCount: 0,
_zoneDelegates: null,
_state: 'notScheduled',
type: 'microTask',
source: 'Promise.then',
data: undefined,
scheduleFn: undefined,
cancelFn: null,
callback: [Function],
invoke: [Function] } } TypeError: _ngEl.nativeElement.getAttribute is not a function
at new StyleDirective (/user_code/node_modules/@angular/flex-layout/bundles/flex-layout.umd.js:3087:61)
at createClass (/user_code/node_modules/@angular/core/bundles/core.umd.js:10970:26)
at createDirectiveInstance (/user_code/node_modules/@angular/core/bundles/core.umd.js:10788:37)
at createViewNodes (/user_code/node_modules/@angular/core/bundles/core.umd.js:12229:49)
at callViewAction (/user_code/node_modules/@angular/core/bundles/core.umd.js:12675:13)
at execComponentViewsAction (/user_code/node_modules/@angular/core/bundles/core.umd.js:12584:13)
at createViewNodes (/user_code/node_modules/@angular/core/bundles/core.umd.js:12256:5)
at createRootView (/user_code/node_modules/@angular/core/bundles/core.umd.js:12124:5)
at Object.createProdRootView [as createRootView] (/user_code/node_modules/@angular/core/bundles/core.umd.js:12809:12)
at ComponentFactory_.create (/user_code/node_modules/@angular/core/bundles/core.umd.js:9896:46)
Not sure if I'm using some deprecated stuff. Help?
Metadata
Metadata
Assignees
Labels
P1Urgent issue that should be resolved before the next re-leaseUrgent issue that should be resolved before the next re-leasehas prA PR has been created to address this issueA PR has been created to address this issue