-
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
π Bug report: Terminal receives "pm i" instead of "npm i" when choosing npm installation option #246
Comments
Hi @Saurabh7019, Been testing this one with the latest version 3.2.1 and with node.js version 18.17.1, but getting Can you double check if there is |
@nicodecleyre thank you jumping in on this. You Rock π€© So I create a new terminal instance and send a text to it without waiting for it to 'boot up'. VS Code terminal is integrated so if someone has the terminal customized (for example uses POSH in PS terminal) it might take a bit some time for new terminal to show. From what I am aware the What we should do is do something like it is done in Here not only I create the terminal but wait for it to show before I pass the command. Ideally what I was thinking of this fix was to reuse the |
I have customized my PowerShell prompt using PSReadLine and included the CLI.Microsoft365.PowerShell.Predictor module in my startup profile. This customization is causing a significant delay in loading my personal and system profiles, which could be why I am consistently reproducing the issue. You might not experience this issue even with the same customization because of your lightning-fast machine. I remember your CLI tests execution times were impressively quick. :) |
β¦#246 (#280) ## π― Aim The aim is to refactor the way start and run commands in integrated VS Code terminal. The idea is to aling the approach by using the dedicated Terminal service which was developed for exactly that. ## β What was done - [X] Removes all direct usage of `terminal` and refactors it to same approach ## π Related issue Closes: #246
PR merged with the fix. |
β¦#246 (#280) ## π― Aim The aim is to refactor the way start and run commands in integrated VS Code terminal. The idea is to aling the approach by using the dedicated Terminal service which was developed for exactly that. ## β What was done - [X] Removes all direct usage of `terminal` and refactors it to same approach ## π Related issue Closes: #246
β¦#246 (#280) ## π― Aim The aim is to refactor the way start and run commands in integrated VS Code terminal. The idea is to aling the approach by using the dedicated Terminal service which was developed for exactly that. ## β What was done - [X] Removes all direct usage of `terminal` and refactors it to same approach ## π Related issue Closes: #246
β Priority
(Low)βΉοΈ Something is a little off
π Describe the bug
Creating a new project and choosing
npm i
after the project is created doesn't work as expected. The terminal receivespm i
instead ofnpm i
.π£ Steps To Reproduce
π Expected behavior
The terminal should receive
npm i
when the project is created.π· Screenshots
βSharePoint Framework Toolkit version
3.2.1
βNode.js version
v18.17.1
π€ Additional context
No response
The text was updated successfully, but these errors were encountered: