Skip to content

vue-cli-service does not run in cmd.exe or Powershell #1119

Closed
@mrberggg

Description

@mrberggg

Version

3.0.0-beta.6

Reproduction link

https://gist.github.com/mrberggg/18d54d105f8cbfa64bd03cb63f9fdfdf

Steps to reproduce

Create a new project with vue cli, then navigate to folder.

In bash run vue-cli-service serve or ./node_modules/.bin/vue-cli-service serve. Serve will work properly.

In Powershell/cmd.exe, run vue-cli-service serve. Will show the following error:
'vue-cli-service' is not recognized as an internal or external command

Try running the service manually by running .\node_modules\.bin\vue-cli-service serve. Will pop open Windows' 'How do you want to open this file?' dialog.

What is expected?

Should run correctly in cmd.exe/Powershell.

What is actually happening?

Does not run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions