ngx-sortablejs icon indicating copy to clipboard operation
ngx-sortablejs copied to clipboard

Unable to evaluate this expression statically

Open IbrahimSabry opened this issue 4 years ago • 3 comments

I installed ngx-sortablejs inside angular 13 project, and when I'm trying to import it in the appModule as per documentation the following error appears to me:

Value at position 5 in the NgModule.imports of AppModule is not a reference Value could not be determined statically.(-991010) app.module.ts(18, 5): Unable to evaluate this expression statically.

IbrahimSabry avatar Dec 28 '21 13:12 IbrahimSabry

anyone here?

IbrahimSabry avatar Dec 30 '21 08:12 IbrahimSabry

I am also facing same error

I upgraded angular 10 to 13 Unable to evaluate this expression statically.

return window.location.search.indexOf('APPDYNAMICS_PRIVATE_AUTOMATION_MODE=enabled') > -1;

error NG1010: Value at position 0 in the NgModule.imports of AnimationsModule is not a reference Value could not be determined statically.

imports: [
        isDebugMode() ? NoopAnimationsModule : BrowserAnimationsModule
]
export function isDebugMode() {
         return window.location.search.indexOf('APPDYNAMICS_PRIVATE_AUTOMATION_MODE=enabled') > -1;
}

kshamaj15 avatar Jul 07 '23 10:07 kshamaj15