Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

abp.clock.provider undefined ? #5760


User avatar
0
uabel created

Hello, when I start my project I get the following error:

GetScripts:928 Uncaught TypeError: Cannot set property 'provider' of undefined in GetScripts:928

(function(){ abp.clock.provider = abp.timing.utcClockProvider || abp.timing.localClockProvider; abp.clock.provider.supportsMultipleTimezone = true; abp.timing.timeZoneInfo = { windows: { timeZoneId: 'UTC', baseUtcOffsetInMilliseconds: '0', currentUtcOffsetInMilliseconds: '0', isDaylightSavingTimeNow: 'False' }, iana: { timeZoneId:'Etc/UTC' }, } })();

In the following function, clock is empty. but not abp.

Any suggestions?

If I then click on the application on the start page many more errors.

The project is almost new and we have not adapted much yet. Last time it worked too.


6 Answer(s)
  • User Avatar
    0
    ryancyq created
    Support Team

    Hi, are you using jquery template? which version?

    you can try to remove node_modules and rebundle the scripts. See aspnetzero documentation

  • User Avatar
    0
    uabel created

    We're using ASP.NET MVC 5.x & AngularJS 1.x.

    ABP 3.8.3

  • User Avatar
    0
    uabel created

    It is running again. I have no idea why ... I only updated some packages (ABP ...)

  • User Avatar
    0
    uabel created

    Error ist Back again, any ideas ?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @uabel

    Is this the only javascript error on the browser console ? If you have another javascript error related to AngularJS, it might cause this error as well.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Closing due to inactivity.