on 06-27-2021 9:54 AM
Hello
Since a couple off days, I am not being able to create any simple SAPUI5 app to be deployed to cloud foundry. The destination drop down at the deployment configuration step has 'No data available' and the 'Finish' button is disabled(screen shot in Finish Project error.png). Those used to work fine earlier(screen short in finishProject normal.png)
Any suggestions what might have gone wrong here? Have tried deleting the fiori dev space and creating new ones but no success.
thanks.
Hello Matthew,
Thanks again for reaching out. We have identified this as a bug in our code :(, and one that will be fixed in our next release. As a work around, could you please do the following:
1. Generate your application without any deployment configuration (select 'no' to the question in the Project Attributes step).
2. After generation, open a terminal in BAS and navigate to the project folder. Then type `npm run deploy-config`, this will allow you to add the Cloud Foundry destinations as needed.
Please let me know if this works for you?
Thanks again.
Ian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ian,
I am also facing the issue.
Tried your suggestion, but still not working. Getting below error,
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/opt/nodejs/node-v14.16.0-linux-x64/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'run',
1 verbose cli 'deploy-config'
1 verbose cli ]
2 info using npm@6.14.11
3 info using node@v14.16.0
4 verbose stack Error: missing script: deploy-config
4 verbose stack at run (/opt/nodejs/node-v14.16.0-linux-x64/lib/node_modules/npm/lib/run-script.js:155:19)
4 verbose stack at /opt/nodejs/node-v14.16.0-linux-x64/lib/node_modules/npm/lib/run-script.js:63:5
4 verbose stack at /opt/nodejs/node-v14.16.0-linux-x64/lib/node_modules/npm/node_modules/read-package-json/read-json.js:116:5
4 verbose stack at /opt/nodejs/node-v14.16.0-linux-x64/lib/node_modules/npm/node_modules/read-package-json/read-json.js:436:5
4 verbose stack at checkBinReferences_ (/opt/nodejs/node-v14.16.0-linux-x64/lib/node_modules/npm/node_modules/read-package-json/read-json.js:391:45)
4 verbose stack at final (/opt/nodejs/node-v14.16.0-linux-x64/lib/node_modules/npm/node_modules/read-package-json/read-json.js:434:3)
4 verbose stack at then (/opt/nodejs/node-v14.16.0-linux-x64/lib/node_modules/npm/node_modules/read-package-json/read-json.js:161:5)
4 verbose stack at /opt/nodejs/node-v14.16.0-linux-x64/lib/node_modules/npm/node_modules/read-package-json/read-json.js:382:12
4 verbose stack at /opt/nodejs/node-v14.16.0-linux-x64/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:123:16
4 verbose stack at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:63:3)
5 verbose cwd /home/user/projects/MyHANAApp
6 verbose Linux 5.4.0-5-cloud-amd64
7 verbose argv "/opt/nodejs/node-v14.16.0-linux-x64/bin/node" "/usr/local/bin/npm" "run" "deploy-config"
8 verbose node v14.16.0
9 verbose npm v6.14.11
10 error missing script: deploy-config
11 verbose exit [ 1, true ]
Please let me know if I am missing any step.
Regards,
Sharique
Hi Sharique
We have introduced a new version of the Fiori generator that should resolve the original issue. Can you please launch the Fiori generator and try again? Now there should be options in the deployment dropdown that allow you to generator your application.
Please let me know if the issue is resolved.
Thanks,
Ian
Hello Matthew,
A new version of the Fiori generator was launched over the weekend and it should resolve this issue. Can you please try and create your application in BAS using the latest version? You should no longer have no entries in the dropdown for deployment. Please let me know if this resolves your issue?
Thanks,
Ian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We have also been having this issue for a few days, and cannot generate the project. It's happening for us in both trial and our company BAS, and we are certainly logged in to Cloud Foundry in both cases. It occurs when creating New Project from Template->SAPUI5 Application with no data source, and selecting to Add Deployment Configuration. Destination options are available for ABAP, but when selecting Cloud Foundry we cannot set any Destination and Finish button is disabled.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for your response. I have checked and ensured multiple times that the CF login is done before creating the project (Using the 'Cloud Foundry Targets' option on the left sidebar in BAS) .And I can see the services on CF both on the left side and in a terminal(screen shot attached).
I have not really understood the need for a destination while deploying to CF but it was working all this while . Dropdown used to show all my destinations(defined in connectivity at subaccount level). I used to select any and it used to enabled the finish button.
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there,
Can you please ensure that you are logged into the Cloud Foundry in BAS and that you have setup the required destination?
If your BTP Trial account is assigned to region Europe type cf login -a https://api.cf.eu10.hana.ondemand.com
, if it is assigned to the US region type cf login -a https://api.cf.us10.hana.ondemand.com
and provide your username and password to login to Cloud Foundry. If you are not sure to which region the BTP Trial account is assigned check the BTP Cockpit.
Regards,
Ian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.