on 2024 Oct 17 6:04 AM
Hey SAP Community,
When deploying our CAP Java app to BTP, we are getting the following error in our html5 deployer:
The error is due to the deprecated punycode module.
However, punycode module is not used in our code. It is not present in the package.json file.
If we run the command `npm ls punycode`, the output is as follows:
After running the deploy command (`mbt build` then `cf deploy mta_archives/SMT_1.0.0-SNAPSHOT.mtar`), which fails, if we run the `npm ls punycode` command again, we get the following output:
Prior to this, we deployed only the backend which also contained the punycode module but that deployed successfully.
1. What needs to be changed to remove this error?
2. How can we deploy regardless of this punycode module?
3. Can we also deploy android and iOS versions of the app instead of web to BTP?
Request clarification before answering.
Seems you've @sap/cds-dk is defined as a dependency and not only as a dev dependency. Try to change that and try again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
33 | |
21 | |
16 | |
8 | |
7 | |
6 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.