-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Compilation didn't run at the launch of the extension (press F5) #510
Comments
I manually ran tsc --watch to compile the typescript by adding the out attribute on the package.json. After that, I could launch the extension |
However, my question is, why the compilation didn't run at the launch of the extension. The product documentation says, |
I created the project inside a sub-folder and got this error, but closing VS Code and reopening the actual sub-folder worked for me. |
check your extension launch.json,make sure the follow code in your file |
Hi! This is still an issue. |
I can confirm this happens to me too with a Javascript extension generated with yeoman generator-code |
After updating to the latest VS Code version (1.69.1), it's now working for me. |
I got this to work by
Then it worked |
Closing this as a question about extension development / no longer reproducible |
I experienced this issue today. Seems to be related to using webpack. I re-created the extension without webpack and no longer had issues. |
I am still having this issue. |
I got this work by |
I just ran into this issue today, following the exact steps on the "Your First Extension" page: https://code.visualstudio.com/api/get-started/your-first-extension. Not sure why this was closed, as it is still a problem. npm install -g typescript did not resolve the problem for me. Instead, I had to use the steps in the Stack Overflow question. https://stackoverflow.com/questions/69433540/vscode-extension-command-hello-world-resulted-in-an-error-command-vscode-er |
Confirming what @ehewitt-sel said - I have ran into the identical issue in VSCode 1.89.0 using the "Your First Extension" page: https://code.visualstudio.com/api/get-started/your-first-extension. Bug should be reopened. |
I was missing the |
Problem Description:
I tried creating VS Code extension using the sample extension (yo code) provided in the documentation. I chose "typescript" as it's type of extension, while creating it.
When I tried to run the extension, I get an error message .
tsconfig.json
The problem is due to typescript compilation, and hence, I couldn't find extension.js file .
The text was updated successfully, but these errors were encountered: