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

JetBrains IDE-based workspace isn't started with the .NET 5.0 sample #23225

Closed
azatsarynnyy opened this issue Nov 1, 2024 · 1 comment
Closed
Assignees
Labels
area/editor/jetbrains JetBrains IDEs support kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P1 Has a major impact to usage or development of the system.

Comments

@azatsarynnyy
Copy link
Member

Is your task related to a problem? Please describe

When starting a new workspace from .NET 5.0 sample with a JetBrains IDE
image

I get
image

The problem is the link to the remote IDE server can't be acquired:

(node:54) UnhandledPromiseRejectionWarning: TypeError: (intermediate value).replaceAll is not a function
    at /idea-server/status-app/index.js:48:43

Describe the solution you'd like

It should be possible to start a JetBrains IDE-based workspace from the .NET 5.0 sample.

Most likely, it will fix the workspace start for other samples with the same problem.

Describe alternatives you've considered

No response

Additional context

No response

@azatsarynnyy azatsarynnyy added kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P1 Has a major impact to usage or development of the system. area/editor/jetbrains JetBrains IDEs support labels Nov 1, 2024
@azatsarynnyy azatsarynnyy self-assigned this Nov 1, 2024
@azatsarynnyy
Copy link
Member Author

Using the replaceAll JS function requires Node.js >= 15.
.Net 5.0 sample is based on the image that contains Node.js 14.
The problem is fixed by using replace with regexp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/editor/jetbrains JetBrains IDEs support kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P1 Has a major impact to usage or development of the system.
Projects
Status: ✅ Done
Development

No branches or pull requests

1 participant