on 2022 Mar 23 10:44 AM
Hi robson.soares ,
Thanks for your feedback. I can answer from the Fiori generator perspective:
> I followed the link steps. The first one displayed the message "The 'package.json' doesn't contain 'sapux'. This is required for SAP Fiori elements applications project(package-json-sapux)" in yellow.
That yellow flag is fine, it's a warning that the Fiori project is not compatible with Fiori elements. In this case, that makes sense, as it's a Fiori freestyle (not Fiori elements) application that is being inspected.
> My mains question is: when finishing the creation of a project, SAP BAS displays a message informing that all dependencies were created. Wouldn't the eslint dependency be created automatically? I ask because a while ago syntax errors were highlighted without having to install anything.
The Fiori generator does not add code assist libraries by default, the user needs to choose this option in the advanced settings in the generator, or else after the fact using the documentation above. The reason why it's not included by default is that there are extra libraries that need to be downloaded and installed, which will increase the footprint and install time of the generated application.
Regards - Ian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi robsonsoares ,
Did you check that eslint is installed as a dependency?
Javascript code assist can be added to a project during generation or for generated projects.
Regards - Raz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi raz.korn,
Thanks for the answer.
I followed the link steps. The first one displayed the message "The 'package.json' doesn't contain 'sapux'. This is required for SAP Fiori elements applications project(package-json-sapux)" in yellow.
Regarding the second link, I followed the procedures, but other syntax errors were pointed out and also the code assistant did not reproduce the expected result, like the code completion, as shown in the example on the page.
My mains question is: when finishing the creation of a project, SAP BAS displays a message informing that all dependencies were created. Wouldn't the eslint dependency be created automatically? I ask because a while ago syntax errors were highlighted without having to install anything.
User | Count |
---|---|
71 | |
11 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.