12.(开发工具篇vscode+git)vscode 不能识别npm命令

1:vscode 不能识别npm命令

问题描述:

解决方式:

(1)右击VSCode图标,选择以管理员身份运行;

(2)在终端中执行get-ExecutionPolicy,显示Restricted,表示状态是禁止的;

(3)这时执行set-ExecutionPolicy RemoteSigned;

(4)此时再执行get-ExecutionPolicy,显示RemoteSigned,则表示状态解禁,可以运行

(5)重启

相关推荐
petunsecn1 天前
多 GitHub 账号与多平台 Git 使用(附加场景:就想用指定账号clone)
git·github
QQ__17646198241 天前
SSH远程通过Vscode运行Jupyter无法使用CUDA
vscode·jupyter·ssh
catoop1 天前
npm 离线安装软件包指南(离线安装 claude code)
npm·node.js
yuanmenghao1 天前
Git submodule 与 git-repo(Google 的 repo 工具) 在多仓库管理上的差异
git
木易双人青1 天前
git常用命令
git
Ms.AG1 天前
GitHub 学生认证(保姆级教学)
vscode·github
老前端的功夫1 天前
抛弃 `!important`,让 CSS 优先级变大
前端·javascript·css·npm·node.js
热忱11281 天前
Git 全套常用命令手册(含日常开发示例)
大数据·git·elasticsearch·搜索引擎
JohnnyZhao931 天前
VSCode Github Copilot使用OpenAI兼容的自定义模型方法
vscode·github·copilot
Aliex_git1 天前
Git SSH 配置
笔记·git·学习·ssh