-
Notifications
You must be signed in to change notification settings - Fork 17
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
TypeScript gauge project does not work in VSCode #759
Comments
I see not only me and my team are struggling with it which is good news ^^ |
I am able to replicate this issue on my linux machine. I will investigate this further. |
@mholetzko @sriv |
@sriv awesome - as said when you feel someone could help just post it here! Happy to have the tool hence happy to support 🙂🙂 |
Is there an ETA for this? This issue sadly makes the extension useless for TS Projects at the moment. |
Hey, There was a parallel issue. You can easily resolve this issue with the gauge template version 0.6.0. #735 :) maybe not perfect and out of the box yet, but works with a small workaround 🙏🏼 |
@DrRuhe Can you verify if #735 (comment) workaround works for you? |
Currently trying it out. While the extension seems to work, the specifications suddenly seem to fail. Will have to do further investigation to ensure it's not related to the workaround. |
I'm having this exact same problem as well. TypeScript project, VS Code extension, same error being displayed and same logs in the Versions:
VSCode extension version: 0.1.0 Package.json dependency versions: "dependencies": {
"dotenv": "16.0.3",
"gauge-ts": "0.1.1",
"ts-node": "10.9.1",
"typescript": "4.9.5"
},
"devDependencies": {
"@types/node": "^16",
"@typescript-eslint/eslint-plugin": "5.56.0",
"@typescript-eslint/parser": "5.56.0",
"eslint": "8.36.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-prettier": "4.2.1",
"prettier": "2.8.6",
"taiko": "1.3.9"
} Interestingly, launching the Gauge LSP daemon with Is there a proper fix for this problem yet? @mholetzko you mentioned resolving the issue by using Gauge template version 0.6.0, but I have no idea what you mean by that, as I'm not aware of any 0.6.0 version or what Gauge template you're referring to. The comment you refer to recommends setting a few specific dependency versions with no explanation on why that might fix the problem and I don't want to go that far back with my TypeScript and ts-node version. |
Hopefully fixed by getgauge/gauge#2422 in Gauge |
After creating a project with the command
gauge init ts
and opening the project in VSCode, I get a dialog sayingThe Gauge server crashed 5 times in the last 3 minutes.
The server will not be restarted. A dialog box appears and it does not work.The following error message is repeated 5 times in lsp.log in the logs directory.
The version of each tool is shown below.
The version of VSCode’s Gauge plugin is
v0.0.23
.By the way, the project created with
gauge init js
worked fine.The text was updated successfully, but these errors were encountered: