Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web module fails to run #97

Open
pradeep87gupta opened this issue May 15, 2024 · 1 comment
Open

Web module fails to run #97

pradeep87gupta opened this issue May 15, 2024 · 1 comment

Comments

@pradeep87gupta
Copy link

pradeep87gupta commented May 15, 2024

Hi,

We were able to run all the modules (except Web module), in the order mentioned in the readme documentation.
image

When trying to run the Web module it fails with below error.
Failed to resolve reference for provided property: ..........................................-hana-shine-xsa#core_xsjs_api#url
image

5/30/24 8:08:46.398 AM [APP/10-0] ERR (node:17156) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
5/30/24 8:08:46.398 AM [APP/10-0] ERR (Use `node --trace-warnings ...` to show where the warning was created)
5/30/24 8:08:46.510 AM [APP/10-0] ERR node:internal/modules/cjs/loader:1080
5/30/24 8:08:46.510 AM [APP/10-0] ERR throw err;
5/30/24 8:08:46.510 AM [APP/10-0] ERR ^
5/30/24 8:08:46.510 AM [APP/10-0] ERR
5/30/24 8:08:46.510 AM [APP/10-0] ERR Error: Cannot find module '/hana/shared/xs/app_working/executionroot/app/node_modules/@sap/approuter/approuter.js'
5/30/24 8:08:46.510 AM [APP/10-0] ERR at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
5/30/24 8:08:46.510 AM [APP/10-0] ERR at Module._load (node:internal/modules/cjs/loader:922:27)
5/30/24 8:08:46.510 AM [APP/10-0] ERR at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
5/30/24 8:08:46.510 AM [APP/10-0] ERR at node:internal/main/run_main_module:23:47 {
5/30/24 8:08:46.510 AM [APP/10-0] ERR code: 'MODULE_NOT_FOUND',
5/30/24 8:08:46.510 AM [APP/10-0] ERR requireStack: []
5/30/24 8:08:46.510 AM [APP/10-0] ERR }
5/30/24 8:08:46.510 AM [APP/10-0] ERR
5/30/24 8:08:46.510 AM [APP/10-0] ERR Node.js v18.17.1

Also when trying to access the URLs generated for Indvidual module, it gives "Unauthorized" message.
image

Any hints on where we would have gone wrong?

@pradeep87gupta
Copy link
Author

Hi @LalithManokar , would it be possible for you or any of your colleagues to provide some hints on this issue we are facing at the moment. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant