Comments (3)
Hello Peter,
Can you please provide link to your project or at least mta.yaml?
Can you try to run also the following:
- mbt init
- 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.
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.
Fix provided in version 1.0.8
from cloud-mta-build-tool.
Related Issues (20)
- License declaration for "SAP DEVELOPER LICENSE AGREEMENT"
- MBT version 1.2.25 is not working after installation under proxy HOT 7
- support for multiple processes
- mbt build error - tar-TXGjz8: Cannot open: No such file or directory
- Module route protocol support
- Docker image for java 21 HOT 2
- Provide resiliency for MTA builds HOT 5
- "Error: No binaries are available for your platform: linux-arm64" Regression of #955 HOT 3
- mbt validation error for mta dynamic parameters and parameters
- Unable to build Workflow Management MTAR HOT 2
- Error could not remove the Makefile_20240125133534.mta HOT 1
- npm registry-entry not correct used inside from monorep-modules HOT 1
- Env variable not getting set according to mta.yaml HOT 2
- Apply before-all for mbt sbom-gen
- Request a docker for node 18.19.1 HOT 3
- Routes defined with `_` converted to `-` (Routes replacing underscore with minus / dash) HOT 3
- MTA build failed : could not execute the on Mac HOT 1
- Please publish new release with config.urls linux-amd64 HOT 7
- Error on windows: cannot run executable found relative to current directory
- Circular dependency on mta and mtaext issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloud-mta-build-tool.