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

Web.Public start error #7791


User avatar
0
fguo created

I am trying Core+Angular version 7.2.3 with start both Web.Host and Web.Public. It opens good, but there are some errors as following:

HTML1300: Navigation occurred.
localhost:45776 (1,1)

4CSS3121: The media query -ms-viewport has been deprecated.

SCRIPT5007: SCRIPT5007: Unable to set property 'defaultSourceName' of undefined or null reference
localhost:45776 (465,9)

0: Unable to get property 'unspecifiedClockProvider' of undefined or null reference
GetScripts (1379,4)

0: 'jQuery' is not defined
frontend-metronic.min.js (1,1311)

0: '$' is not defined
localhost:45776 (475,8)

0: 'jQuery' is not defined
jquery.fancybox.pack.js (1,1)

0: Unable to get property 'fn' of undefined or null reference
owl.carousel.js (1717,1)

0: '$' is not defined

Also, the Language and logout dropdowns cannot be open, so I cannot logout from the site.

Is it a bug?


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

    Hi, have you followed the instructions in the Documentation?

    e.g

    • yarn
    • npm run create-bundles
    • npm run buid
  • User Avatar
    0
    fguo created

    Yes. I did these 3 steps. The only thing may be a little different is that, on the second step (run “npm run create-bundles”), the process hung after prompt of “Finished ‘buildDev’ after 3.26 s”. I have to Ctrl-C to exit.

    I also tried to open VS, right-click *.Web.Public project > Bundler & Minifier > Update Bundles, and then, restore packages by right-clicking *.Web.Public/Dependencies/npm. No error propmpt on this way.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @fguo

    We don't use Bundler & Minifier anymore.

    You should first run "yarn" and then "npm run create-bundles". Could you share a screenshot of "npm run create-bundles" output on console window ?

  • User Avatar
    0
    fguo created

    I solved it.

    While running “npm run create-bundles”, the process was stuck after prompt of “Finished ‘buildDev’ after 3.26 s”. I forced it exit by Ctrl-C.

    Then, I still run "npm run buid" (instead of Bundler & Minifier in VS). It solved the problem.

    Thanks,