-
Notifications
You must be signed in to change notification settings - Fork 137
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
Get 'command not found' error for some command (like npm) #8
Comments
I did some more testing and found the cause. So to get those commands listed above working, just add the file extensions:
Though it's nice to fix this or at least document it. |
I will fix it next week, I don't have Windows machine at home. |
I'm not sure what's the best way to resolve this issue. At first I thought I would just add .cmd at the end if the command isn't found, but that is really lame. Probing seems like a bad idea in the first place and there might be other extensions like .bat that wouldn't work either. There is one workaround though, you can start web-terminal with -h (--shell) option, like this:
Do you have any better ideas? |
I would try to emulate what the cmd does:
|
@rabchev Check out this package: |
Environment Following up on this thread, some commands are not recognized, such as 'npm', 'dir', 'ls', 'start'. |
Environment
Steps
web-terminal
in cmd.exelocalhost:8088/terminal/
in browser[command name]: command not found
.Commands that run perfectly in a native terminal but won't work with web terminal:
One thing they have in common is that they are all commands of globally installed node modules.
The text was updated successfully, but these errors were encountered: