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

SAP UI5 SDK ist not accesible #662

Closed
ChristopherMoltisanti1993 opened this issue Oct 10, 2023 · 5 comments
Closed

SAP UI5 SDK ist not accesible #662

ChristopherMoltisanti1993 opened this issue Oct 10, 2023 · 5 comments
Assignees

Comments

@ChristopherMoltisanti1993

Hi,

I'm trying to use this extension, but unfortunately I am receiving the following error:
image
In manifest.json minUIVersion ist set to:
image

I am using corporate proxy and found out that there was an issue with it, but according to this it should be fixed:
#285

Am I missing something:)? Need some additional steps need to be proceed to make this working?

@marufrasully
Copy link
Contributor

@ChristopherMoltisanti1993
can you please verify that

If above points does not solves your problem, will Offline work mood be an option for you? For this see instructions. 2. Offline work

@ChristopherMoltisanti1993
Copy link
Author

@mr25mr
Sorry for my ignorance, but could you please tell me where I am supposed to look for ENV. Also where should https_proxy param be set?

@marufrasully
Copy link
Contributor

marufrasully commented Oct 26, 2023

@ChristopherMoltisanti1993
you can perform as follows

macOS/Linux:

echo $no_proxy

Windows:

echo %no_proxy%

after executing that command in a terminal, if it outputs a value, it means node process env is set with that value.

http_proxy or https_proxy is set as node process env. See this doc on how to modify it.

@ChristopherMoltisanti1993
Copy link
Author

Hi @mr25mr,

Isn't it risky to manipulate those Node settings? I am working on computer wtih no admin rights, so when I brake NodeJS it will be hard to restore it without IT help :)

But I've done something else which is very strange. I've set up environment for Offline Work and all is working correctly with SAPUI5WebServer. I've set up 1.96.24 and 1.96.25 SAPUI5 version for Offline Work.

And then i checked it one more time Online Mode and for this 2 versions it seems to work. Of course I've restored all the setting to work in Online Mode, so I've deleted localhost in extension settings:
image
I've even reinstalled extension, and I've deleted all the downloaded SDKs, just to make sure. Isn't it strange? :)

@marufrasully
Copy link
Contributor

Hi @ChristopherMoltisanti1993

NodeJS process is local to your machine and should be safe in case you need to change them.

Regarding "... Isn't it strange? :)"
We should know some background. UI5 Language Assistant creates a cache and store them under ....globalStorage/saposs.vscode-ui5-language-assistant/... once it read required resources from internet or from local server e.g. offline mode. Next time when opening, cached versions is read. This is done due to performance.
To see cached folder, you should set log level to info in user settings as attached photo
image
and in the output, you should select UI5 Language Assistant as depicted in attached photo
image

The cacheFolder is not removed if you uninstall extension.
I hope this make things clear. If offline mode options works fine for you, please close this issue.

Thanks and regards

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

2 participants