当前位置:网站首页>安装nodejs环境
安装nodejs环境
2022-06-28 18:30:00 【kunwen123】
PS C:\Users> cnpm -v
cnpm : 无法加载文件 C:\Users\D06340\AppData\Roaming\npm\cnpm.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/g
o.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。
所在位置 行:1 字符: 1
- cnpm -v
+ CategoryInfo : SecurityError: (:) [],PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess
PS C:\Users> set-ExecutionPolicy RemoteSigned
set-ExecutionPolicy : 对注册表项“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell”的访问
被拒绝。 要更改默认(LocalMachine)作用域的执行策略,请使用“以管理员身份运行”选项启动 Windows PowerShell。要更改当前用户的
执行策略,请运行 “Set-ExecutionPolicy -Scope CurrentUser”。
所在位置 行:1 字符: 1
- set-ExecutionPolicy RemoteSigned
+ CategoryInfo : PermissionDenied: (:) [Set-ExecutionPolicy], UnauthorizedAccessException + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.SetExecutionPolicyCommand
PS C:\Users\D06340> set-ExecutionPolicy -Scope CurrentUser
位于命令管道位置 1 的 cmdlet Set-ExecutionPolicy
请为以下参数提供值:
ExecutionPolicy: RemoteSigned
PS C:\Users\D06340> cnpm -v
[email protected] (C:\Users\D06340\AppData\Roaming\npm\node_modules\cnpm\lib\parse_argv.js)
[email protected] (C:\Users\D06340\AppData\Roaming\npm\node_modules\cnpm\node_modules\npm\index.js)
[email protected] (D:\nodejs\node.exe)
[email protected] (C:\Users\D06340\AppData\Roaming\npm\node_modules\cnpm\node_modules\npminstall\lib\index.js)
prefix=null
win32 ia32 10.0.18363
registry=https://registry.npmmirror.com
#PS C:\Users\xxx> cnpm install -g yarn
Yarn安装: https://www.yarnpkg.com/lang/en/
边栏推荐
- Openfire用户以及群组关系移植
- EasyCVR新建用户后,视频调阅页面不能点击的问题修复
- 使用.NetCore自带的后台作业,出入队简单模拟生产者消费者处理请求响应的数据
- 数据库实验7 完整性约束
- 【软件测试】2022年普通高等学校招生全国统一考试
- 基于固态激光雷达辅助的十六线机械雷达和单目相机的外参标定方法
- Unity about oculus quest2 developing 002-ui interaction based on XR interaction Toolkit
- Halcon knowledge: matrix topic [01]
- 中金财富开户安全吗?开过中金财富的讲一下
- io模型初探
猜你喜欢

Yixin Huachen: real estate enterprises want to grasp the opportunity of the times for digital transformation

HackTheBox-baby CachedView

GCC getting started manual

SMARCA2抗体研究:Abnova SMARCA2 单克隆抗体方案

Shanghai Pudong Development Bank Software Test interview real question

OneFlow源码解析:算子签名的自动推断

堆的概念和代码实现

技术管理进阶——管理者如何做绩效沟通及把控风险

【软件测试】2022年普通高等学校招生全国统一考试

用户网络模型与QoE
随机推荐
io模型初探
注意!PMP紧急缓考今天就截止了!
Lumiprobe ProteOrange 蛋白质凝胶染料说明书
How to upgrade from RHEL 8 to RHEL 9
Introduction to apifox
Dnslog injection
select/poll/epoll
PCB线路板布局和布线都有哪些设计要求?
Packet capturing and sorting out external Fiddler -- understanding the toolbar [1]
手动备份和还原DHCP服务器
Analysis of response parsing process of SAP ui5 batch request
Unity about oculus quest2 basic development based on XR interaction toolkit 003- capture function - making a VR bowling game
Shanghai Pudong Development Bank Software Test interview real question
Applet graduation project reservation based on wechat housekeeping service applet graduation project opening report function reference
面部識別試驗涉及隱私安全問題?國外一公司被緊急叫停
Redis6 notes 04 master-slave replication, cluster, application problems, new redis6 features
[translation] list of Clickhouse 22.4 and 22.5 core features
Sharing-JDBC分布式事务之Seata实现
Win 10创建一个gin框架的项目
324. swing sequencing II