Base solution for your next web application
Open Closed

Issues deploying to Azure #5456


User avatar
0
sebastian.morar created

Hi,

I am using this documentation to build my newly purchase framwork without any changes: <a class="postlink" href="https://www.aspnetzero.com/Documents/Step-by-step-publish-to-azure-core-mvc">https://www.aspnetzero.com/Documents/St ... e-core-mvc</a>

The step with gulp raises an error but I heard from <a href="mailto:[email protected]">[email protected]</a> that this step is no longer needed and the documentation is obsolete (will be updated soon). And to use 'npm run create-bundle' instead.

I did that and published, but the site is not working properly and I get lots of errors in browser console.

Could anyone help me with this?

Here is the gulp error: Command: gulp -prod Using gulpfile gulpfile.js Task 'default' is not in your gulpfile Please check the documentation for proper gulpfile formatting


2 Answer(s)
  • User Avatar
    0
    alirizaadiyahsi created

    Hi @sebastian.morar

    What is your product version? And what errors do you get? We cant open image that you attached, because of permission. I get this error: Your client does not have permission to get URL

    BTW, we updated document, don't use "gulp-prod" if your product is the latest version.

  • User Avatar
    0
    sebastian.morar created

    One of the issues I had was with bundling which has been fixed as below.

    The problem is related with the Ecma Script installed on your machine.

    To solve this problem you can update abp-web-resources package.

    <a class="postlink" href="https://www.npmjs.com/package/abp-web-resources">https://www.npmjs.com/package/abp-web-resources</a>

    The latest version (v3.8.4) is backward compatible and works without problem while bundling.