Issue with Overriding getConfigDirUri() in Custom EnvVariablesServer Implementation #14077
-
I am attempting to change the default configuration directory path for Theia by overriding the getConfigDirUri() method in the EnvVariablesServerImpl class. However, my build fails with the following implementation:
Could you please help me change the default ~/.theia config folder path, or provide guidance on how to correctly override the getConfigDirUri() method? |
Beta Was this translation helpful? Give feedback.
Answered by
msujew
Aug 27, 2024
Replies: 1 comment 2 replies
-
Hey @VilikNakhshikyan,
Can you also post the build errors? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It looks like you're trying to import code from the backend part of Theia (
node
) into your browser code. This is not possible and will always lead to build errors.If you want to change the behavior of the application backend, you need to create a dedicated
backend-module
and register that in your package.json.