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

目录
打赏
0
0
0
0
6
分享
相关文章
|
6月前
|
解决安装ConcurrentLogHandler报错error in ConcurrentLogHandler setup command: use_2to3 is invalid.
本文介绍了在Python环境下安装ConcurrentLogHandler时遇到的"use_2to3 is invalid"错误的解决方法,主要是通过降级setuptools到57.5.0版本来解决该问题。
262 2
Job for docker.service failed because the control process exited with error code.
Job for docker.service failed because the control process exited with error code.
322 0
no identity found Command CodeSign failed with a nonzero exit code
no identity found Command CodeSign failed with a nonzero exit code
141 0
|
9月前
Showing Recent Messages Command CodeSign failed with a nonzero exit code
Showing Recent Messages Command CodeSign failed with a nonzero exit code
98 0
|
9月前
|
etcd.service: main process exited, code=exited, status=203/EXEC
etcd.service: main process exited, code=exited, status=203/EXEC
281 1
安装mujoco报错:distutils.errors.DistutilsExecError: command ‘gcc‘ failed with exit status 1
安装mujoco报错:distutils.errors.DistutilsExecError: command ‘gcc‘ failed with exit status 1
709 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.
861 0
Command PhaseScriptExecution failed with a nonzero exit code问题解决
在某次pod install后,run项目出现以下错误
839 0
ERROR: Command errored out with exit status 1:
ERROR: Command errored out with exit status 1:
370 0
ERROR: Command errored out with exit status 1: