Code Monkey home page Code Monkey logo

Comments (3)

allaVolkov avatar allaVolkov commented on July 26, 2024

Hello Peter,

Can you please provide link to your project or at least mta.yaml?
Can you try to run also the following:

  1. mbt init
  2. make -f Makefile.mta p=cf

If these commands or one of them fails please provide the log.

Thank you,
Alla

from cloud-mta-build-tool.

peterkovac avatar peterkovac commented on July 26, 2024

Well, I've tried commands you texted me. The error message I've got is as follows:

/cygdrive/c/Users/XXX/AppData/Roaming/npm/mbt: line 2: sed: command not found
/cygdrive/c/Users/XXX/AppData/Roaming/npm/mbt: line 2: dirname: command not found
/cygdrive/c/Users/XXX/AppData/Roaming/npm/mbt: line 4: uname: command not found
module.js:550
    throw err;
    ^

Error: Cannot find module 'C:\node_modules\mbt\bin\mbt'
    at Function.Module._resolveFilename (module.js:548:15)
    at Function.Module._load (module.js:475:25)
    at Function.Module.runMain (module.js:694:10)
    at startup (bootstrap_node.js:204:16)
    at bootstrap_node.js:625:3
make: *** [Makefile.mta:26: pre_validate] Error 1

In addition, my mta.yaml looks like this (some parts of text substituted with XXX):

_schema-version: "2.0.0"
ID: XXX
version: 1.0.0

modules:
  - name: XXX
    type: java
    path: .
    build-parameters:
      builder: custom
      build-result: target/*.jar
      commands:
        - mvn clean
        - mvn verify
    properties:
      SPRING_PROFILES_ACTIVE: cloud
    parameters:
      timeout: 180
      memory: 1024M
      host: ${default-host}
      domain: XXX 
      health-check-type: process
      health-check-timeout: 180
    provides:
      - name: XXX
        properties:
          url: '${default-url}'
    requires:
      - name: uaa_XXX
      - name: XXX-db-hdi-container

resources:
  - name: uaa_XXX
    type: org.cloudfoundry.existing-service

  - name: XXX-db-hdi-container
    type: org.cloudfoundry.existing-service

from cloud-mta-build-tool.

allaVolkov avatar allaVolkov commented on July 26, 2024

Fix provided in version 1.0.8

from cloud-mta-build-tool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.