ERROR: Command `Install ‘code‘ command in PATH` exited with status code 1.

简介: ERROR: Command `Install ‘code‘ command in PATH` exited with status code 1.

报错提示

ERROR: Command Install 'code' command in PATH exited with status code 1.

原因

  • 在Windows系统中,我们想通过shell命令工具,添加code快捷指令,但是windows系统不存在这个指令。

解决办法

在系统的环境变量中将VScode的bin目录加进去

image.png

相关文章
|
4月前
|
Python
解决安装ConcurrentLogHandler报错error in ConcurrentLogHandler setup command: use_2to3 is invalid.
本文介绍了在Python环境下安装ConcurrentLogHandler时遇到的"use_2to3 is invalid"错误的解决方法,主要是通过降级setuptools到57.5.0版本来解决该问题。
193 2
|
6月前
|
Linux Go C语言
【ERROR】chaincode install failed with status: 500 - failed to invoke backing implementation xxx
【ERROR】chaincode install failed with status: 500 - failed to invoke backing implementation xxx
115 0
|
7月前
|
开发者 iOS开发
no identity found Command CodeSign failed with a nonzero exit code
no identity found Command CodeSign failed with a nonzero exit code
85 0
|
7月前
Showing Recent Messages Command CodeSign failed with a nonzero exit code
Showing Recent Messages Command CodeSign failed with a nonzero exit code
75 0
|
7月前
|
Shell
etcd.service: main process exited, code=exited, status=203/EXEC
etcd.service: main process exited, code=exited, status=203/EXEC
218 1
|
C语言
安装mujoco报错:distutils.errors.DistutilsExecError: command ‘gcc‘ failed with exit status 1
安装mujoco报错:distutils.errors.DistutilsExecError: command ‘gcc‘ failed with exit status 1
664 0
|
网络协议
Job for named.service failed because the control process exited with error code.
Job for named.service failed because the control process exited with error code.
827 0
|
Perl
Command PhaseScriptExecution failed with a nonzero exit code问题解决
在某次pod install后,run项目出现以下错误
716 0
|
C++
ERROR: Command errored out with exit status 1:
ERROR: Command errored out with exit status 1:
329 0
ERROR: Command errored out with exit status 1: