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

V5 JsQuery Core version #4232


User avatar
0
[email protected] created

Hi there,

I am starting with a clean build as I had issue with the JS bundling and thought I might have made a change to cause this error but on a clean downloaded version I am getting the following errors. I am trying to include another JS library but would like the client to be running without errors before I add/port my old project across to v5. thanks I think there may be an issue with the bundle process....

VS 15.4.5

Navigated to <a class="postlink" href="http://localhost:62114/Account/Login">http://localhost:62114/Account/Login</a> GET <a class="postlink" href="http://localhost:62114/Account/Login">http://localhost:62114/Account/Login</a> [HTTP/1.1 200 OK 64ms] GET <a class="postlink" href="http://localhost:62114/view-resources/Areas/App/Views/_Bundles/vendors.bundle.css">http://localhost:62114/view-resources/A ... bundle.css</a> [HTTP/1.1 404 Not Found 62ms] GET <a class="postlink" href="http://localhost:62114/metronic/dist/html/default/assets/demo/default/base/style.bundle.css">http://localhost:62114/metronic/dist/ht ... bundle.css</a> [HTTP/1.1 200 OK 432ms] GET <a class="postlink" href="http://localhost:62114/view-resources/Areas/App/Views/_Bundles/account-layout-libs.css">http://localhost:62114/view-resources/A ... t-libs.css</a> [HTTP/1.1 404 Not Found 54ms] GET <a class="postlink" href="http://localhost:62114/view-resources/Areas/App/Views/_Bundles/common-styles.css">http://localhost:62114/view-resources/A ... styles.css</a> [HTTP/1.1 404 Not Found 84ms] GET <a class="postlink" href="http://localhost:62114/view-resources/Views/Account/_Layout.css">http://localhost:62114/view-resources/V ... Layout.css</a> [HTTP/1.1 200 OK 296ms] GET <a class="postlink" href="http://localhost:62114/view-resources/Areas/App/Views/_Bundles/account-layout-libs.js">http://localhost:62114/view-resources/A ... ut-libs.js</a> [HTTP/1.1 404 Not Found 59ms] GET <a class="postlink" href="http://localhost:62114/AbpServiceProxies/GetAll">http://localhost:62114/AbpServiceProxies/GetAll</a> [HTTP/1.1 200 OK 398ms] GET <a class="postlink" href="http://localhost:62114/AbpScripts/GetScripts">http://localhost:62114/AbpScripts/GetScripts</a> [HTTP/1.1 200 OK 442ms] GET <a class="postlink" href="http://localhost:62114/view-resources/Areas/App/Views/_Bundles/common-scripts.js">http://localhost:62114/view-resources/A ... scripts.js</a> [HTTP/1.1 404 Not Found 225ms] GET <a class="postlink" href="http://localhost:62114/Common/Scripts/_empty.js">http://localhost:62114/Common/Scripts/_empty.js</a> [HTTP/1.1 200 OK 227ms] GET <a class="postlink" href="http://localhost:62114/view-resources/Views/Account/Login.js">http://localhost:62114/view-resources/V ... t/Login.js</a> [HTTP/1.1 200 OK 343ms] GET <a class="postlink" href="http://localhost:62114/Common/Images/app-logo-on-light.png">http://localhost:62114/Common/Images/ap ... -light.png</a> GET <a class="postlink" href="http://localhost:62114/view-resources/Areas/App/Views/_Bundles/account-layout-libs.js">http://localhost:62114/view-resources/A ... ut-libs.js</a> [HTTP/1.1 404 Not Found 27ms] Loading failed for the <script> with source “http://localhost:62114/view-resources/Areas/App/Views/_Bundles/account-layout-libs.js”. Login:149 TypeError: abp.timing is undefined [Learn More] GetScripts:1082:5 <anonymous> <a class="postlink" href="http://localhost:62114/AbpScripts/GetScripts:1082:5">http://localhost:62114/AbpScripts/GetScripts:1082:5</a> <anonymous> <a class="postlink" href="http://localhost:62114/AbpScripts/GetScripts:1081:2">http://localhost:62114/AbpScripts/GetScripts:1081:2</a> GET <a class="postlink" href="http://localhost:62114/metronic/src/media/app/img/bg/bg-4.jpg">http://localhost:62114/metronic/src/med ... g/bg-4.jpg</a> [HTTP/1.1 200 OK 41ms] GET <a class="postlink" href="http://localhost:62114/view-resources/Areas/App/Views/_Bundles/common-scripts.js">http://localhost:62114/view-resources/A ... scripts.js</a> [HTTP/1.1 404 Not Found 27ms] Loading failed for the <script> with source “http://localhost:62114/view-resources/Areas/App/Views/_Bundles/common-scripts.js”. Login:155 ReferenceError: jQuery is not defined [Learn More] Login:165:9 <anonymous> <a class="postlink" href="http://localhost:62114/Account/Login:165:9">http://localhost:62114/Account/Login:165:9</a>


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Yes, bundling & minification is changed with v5. You need to first install client side dependencies using yarn/npm and then run gulp task to create your bundles.

    See <a class="postlink" href="https://aspnetzero.com/Documents/Development-Guide-Core#npm--front-end-dependencies">https://aspnetzero.com/Documents/Develo ... pendencies</a>