• FEATURES
  • PRICING
  • MARKETPLACE
  • CASE STUDIES
  • BLOG
  • Gradle Deploy fails

    #1

    Hi!
    In compiling from source, when running gradle deploy i’ve the next error

    Task :grunt_build
    Loading “imagemin.js” tasks…ERROR

    ReferenceError: primordials is not defined

    Running “clean:dist” (clean) task

    0 paths cleaned.

    Running “wiredep:app” (wiredep) task

    Running “useminPrepare:html” (useminPrepare) task
    Configuration changed for concat, uglify, cssmin

    Running “concurrent:dist” (concurrent) task
    Warning: Loading “imagemin.js” tasks…ERROR

    ReferenceError: primordials is not defined
    Warning: Task “imagemin” not found. Use --force to continue.

    Aborted due to warnings. Use --force to continue.

    Aborted due to warnings.
    

    Task :grunt_build FAILED

    FAILURE: Build failed with an exception.

    • What went wrong:
      Execution failed for task ‘:grunt_build’.

    Process ‘command ‘grunt.cmd’’ finished with non-zero exit value 6

    • Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

    Can someone help me, please?

    #2

    Hi,

    this problem(gradle deploy fails is maybe related to yours.

    I had a problem with this too and had to change the imagemin version in openspecimen/www/package.json from “grunt-contrib-imagemin”: “0.9.1” to “1.0.0”.

    Hope it helps,

    greeting Christian

    #3

    Most likely related to some Version conflict could you repost the Outputs with --stacktrace attached to the grunt Bild command.