cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi,

I am not able to generate a fiori elements Report Object Page project anymore.

The project is generated but the node_modules folder is not fully loaded with all dependencies.

The workaround is to delete the node_modules folder and do the npm install again.

I can not find any log on what could be going wrong.

When i try it via YO it seems to work.

So anything wrong in the Tool when going via the Fiori: Open Application Generator? Because then the node_modules seem to get stuck ... lots of files stay in the .staging directory.

I am using VScode.

Any ideas?

Greetings

0 Likes
View Entire Topic
IanQuigley
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Danny,

Thanks for the response. The npm library installation routine does take a long time on windows, if in VSCode or on the command line.

You should get some entries in the output window similar to this:

2021-09-27 14:12:37] INFO: Installing dependencies...
          [2021-09-27 14:12:37] INFO: Running: `npm install`

And then at the end:

[2021-09-27 14:12:50] INFO: Application generated successfully

Can you confirm you see this in the output console?

One more question :). Are you behind a corporate proxy? If so, you would need to ensure that the proxy settings are correct detailed in the VSCode preferences.

Please let me know if that helps. Happy to jump on a call if you are still stuck.

Thanks

Ian

Steentje
Explorer
0 Likes

Hi Ian,

the only thing i see in the output is

create webapp\Component.js
create webapp\index.html
create webapp\manifest.json
create webapp\annotations\annotation.xml
create webapp\i18n\i18n.properties
create webapp\localService\mockserver.js
create webapp\test\changes_loader.js
create webapp\test\changes_preview.js
create webapp\test\flpSandbox.html
create webapp\test\flpSandboxMockServer.html
create webapp\utils\locate-reuse-libs.js
create webapp\localService\ZTVARVC_ANNO_MDL.xml
create package.json
create ui5.yaml
create ui5-local.yaml
create README.md
create .gitignore
create webapp\localService\metadata.xml

And afterwards an Application Info for the project that states

Node modules are installed in directory 'node_modules'

Node module '@sap/ux-ui5-tooling' not installed

Node module '@sap/ux-specification' not installed