Skip to content
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

命令行:VUE 不是内部命令 #101

Open
smileyby opened this issue Jun 9, 2021 · 0 comments
Open

命令行:VUE 不是内部命令 #101

smileyby opened this issue Jun 9, 2021 · 0 comments
Labels

Comments

@smileyby
Copy link
Owner

smileyby commented Jun 9, 2021

  1. vscode 命令行,不识别 VUE命令
    get-ExecutionPolicy 查看状态 非RemoteSigned,则执行下面命令
    set-ExecutionPolicy RemoteSigned 选A即可,然后重启vscode
  2. powerShell 不识别VUE命令
    检查环境变量path中是否已配置 npm路径,未配置,执行:
    npm config list,复制下面的npm路径,放在path中保存即可
@smileyby smileyby added the npm 🐍 npm label Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant