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

Azure Pipeline - npm run build #9246


User avatar
0
arnovz77 created

Hi Abp Zero,

Trying to build our project using an Azure Pipeline but getting errors when it comes to "npm run build" step of the process as explained on your website. Even if I do it in my own environment, I still get the same error.

yarn && gulp build

yarn install v1.17.3 warning package.json: No license field warning [email protected]: No license field [1/4] Resolving packages... success Already up-to-date. Done in 0.34s. [11:00:23] Using gulpfile ~\source\repos\Dolfin\src\Dolfin.Web.Mvc\gulpfile.js [11:00:23] Starting 'build'... [11:00:31] 'build' errored after 7.64 s [11:00:42] SyntaxError in plugin "gulp-uglify-es" Message: Unexpected token: punc (.) Details: filename: _KeyValueListManager.js line: 113 col: 36 pos: 4251 domainEmitter: [object Object] domainThrown: false

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] build: yarn && gulp build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Are there possible setting / configuration that I am mssing.

Regards,


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    hi

    Please refer to https://support.aspnetzero.com/QA/Questions/9155/Gulp-build-error-with-ASPNET-Core-MVC--JQuery-v89

  • User Avatar
    0
    arnovz77 created

    Hi,

    I have had a look at the fix and all the URL's takes me to a Page not found. Do I have to register in GitHub to access?

    Regards,

  • User Avatar
    0
    maliming created
    Support Team

    hi

    https://aspnetzero.com/LicenseManagement

    You can invite anyone to become a member of the ASP.NET Zero organization using their GitHub username. And they can access the ASP.NET Zero private GitHub repositories. Right after you add a GitHub user, the user will receive an invitation email. If there is problem receiving the invitation email, alternatively user can visit github.com/orgs/aspnetzero page and accept the invitation.