on 2023 May 04 8:22 AM
Hello ,
I am trying to complete step 9 of the exercise CAP (https://developers.sap.com/tutorials/btp-app-work-zone-setup.html)
ie Exercise :Add deployment configuration for the SAP Fiori elements Risks application
I am getting the below error when i use the bash command fiori add deploy-config cf
Error
--------
Adding deploy-config to the project. info Add:Deploy-config Using: /Users/generators/node_modules/@sap/generator-fiori/generators/deploy-config/index.js Error /Users/generators/node_modules/@sap/generator-fiori/generators/deploy-config/index.js cf --base ui5.yaml --config ui5-deploy.yaml You don't seem to have a generator with the name “/Users/generators/node_modules/@sap/generator-fiori/generators/deploy-config/index.js” installed. But help is on the way: You can see available generators via npm search yeoman-generator or via http://yeoman.io/generators/. Install them with npm install generator-/Users/generators/node_modules/@sap/generator-fiori/generators/deploy-config/index.js. To see all your installed generators run yo --generators. Adding the --help option will also show subgenerators. If yo cannot find the generator, run yo doctor to troubleshoot your system. Do you need to install @sap/generator-fiori globally? npm install -g @sap/generator-fiori OR yarn global add @sap/generator-fiori
Any idea on what i am doing wrong.I was able to get all the steps correct upto this exercise.
Now i am stuck and not sure what is the issue here.
Regards,
Alex
Request clarification before answering.
Hi Alex,
This was sometimes triggered by a badly formatted YAML file so I would use an external validator to check that but that may not be the issue here. Another thing to try is to update them. Here are the steps:
In the fiori application generator click on Explore and install Generators, It'll list all your installed generators and versions. Filter for SAP Fiori by selecting it in the dropdown, then it automatically starts updates in case there are any available.
Best regards,
Manju
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
11 | |
9 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.