暗能星系

    • 登录
    • 搜索

    nf tower 验证

    生物信息分析
    1
    3
    7
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • A
      anneng 最后由 anneng 编辑

      https://github.com/seqeralabs/nf-tower

      sudo make build
      

      jynlix@ubuntu01:~/Downloads/src/nf-tower$ make build
      ./gradlew assemble

      Task :tower-backend:compileGroovy FAILED

      FAILURE: Build failed with an exception.

      • What went wrong:
        Execution failed for task ':tower-backend:compileGroovy'.

      Bad <init> method call from inside of a branch
      Exception Details:
      Location:
      org/codehaus/groovy/control/customizers/ASTTransformationCustomizer.<init>(Ljava/util/Map;Lorg/codehaus/groovy/transform/ASTTransformation;)V @159: invokespecial
      Reason:
      Error exists in the bytecode
      Bytecode:
      0x0000000: b800 234e 04bd 006e 5903 2c53 5910 ff12
      0x0000010: 02b8 0076 2a5f ab00 0000 01b0 0000 000a
      0x0000020: b951 be33 0000 005a bd3c 11f8 0000 008f
      0x0000030: e4d2 7468 0000 00b8 f226 4f65 0000 00cb
      0x0000040: 1cb4 ddcd 0000 00e0 224d 0e57 0000 00ff
      0x0000050: 4441 e4ca 0000 0128 4c34 1502 0000 0149
      0x0000060: 589a 5432 0000 0168 6648 e9fd 0000 0185
      0x0000070: 5f5a 5903 3212 7eb8 0051 c000 7e5f 5904
      0x0000080: 32b8 0042 c000 445f 5905 32b8 0082 c000

      编译的时候老是报错 修改
      vi tower-backend/build.gradle
      tasks.withType(GroovyCompile) {
      groovyOptions.forkOptions.jvmArgs.add('-Dgroovy.parameters=true')
      groovyOptions.forkOptions.jvmArgs.add('-noverify') //加上这个
      }

      1 条回复 最后回复 回复 引用 0
      • A
        anneng 最后由 编辑

        修改 build.gradle加速
        allprojects {
        version "20.06.0"
        group "io.seqera"
        repositories {
        maven { url 'https://mirrors.cloud.tencent.com/nexus/repository/maven-public/' }
        mavenLocal()
        mavenCentral()
        maven {
        url "https://clojars.org/repo"
        }
        }
        }

        1 条回复 最后回复 回复 引用 0
        • A
          anneng 最后由 anneng 编辑

          运行
          sudo apt install docker-compose
          sudo make run

          Cannot create container for service backend: create .: volume name is too short, names should be at least two alphanumeric characters
          vi docker-compose.yml
          这个地方/是必须的
          volumes:
          - $PWD/:/work

          1 条回复 最后回复 回复 引用 0
          • First post
            Last post
          Powered by 暗能星系