当前位置:网站首页>安装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/
边栏推荐
- 推荐两款超高质量的壁纸软件
- CANN媒体数据处理V2,JPEGD接口介绍
- leetcode 1423. Maximum Points You Can Obtain from Cards(从牌中能得到的最大点数和)
- Applet graduation design based on wechat conference room reservation applet graduation design opening report function reference
- 上传文件列表(文件名重复加括号标识)
- Small program graduation project based on wechat campus lost and found graduation project opening report function reference
- Small program graduation project based on wechat agricultural and sideline products agricultural products mall small program graduation project opening report function reference
- PHP使用栈解决迷宫问题
- Small program graduation project based on wechat recruitment small program graduation project opening report function reference
- 几行代码就能实现复杂的 Excel 导入导出,这个工具类真心强大!
猜你喜欢

NFT流动性协议的安全困局—NFT借贷协议XCarnival被黑事件分析

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

324. 摆动排序 II

使用.NetCore自带的后台作业,出入队简单模拟生产者消费者处理请求响应的数据

render函数解析

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

从理论到实践增强STEAM和工程教育

Small program graduation project based on wechat recruitment small program graduation project opening report function reference

What are the design requirements for PCB layout and wiring?

Go, begin, end, for, after, instead of
随机推荐
NFT流动性协议的安全困局—NFT借贷协议XCarnival被黑事件分析
Unity about oculus quest2 developing 002-ui interaction based on XR interaction Toolkit
Lumiprobe非荧光叠丨氮化物研究丨3-叠丨氮丙醇
Alist+RaiDrive 给电脑整个80亿GB硬盘
[translation] list of Clickhouse 22.4 and 22.5 core features
China gaobang brand story: standing guard for safety, gaobang pays attention to
How to design a business high performance and high availability computing architecture - job
HackTheBox-baby CachedView
Introduction to apifox
EasyCVR新建用户后,视频调阅页面不能点击的问题修复
亿信华辰:地产企业数字化转型想要把握时代机遇
IDM certification process log embedding point description
Introduction to kubernetes resource object and common commands
1 invalid import format(s) Postman Collection Format v1 is no longer supported and can not be import
leetcode 1423. Maximum Points You Can Obtain from Cards(从牌中能得到的最大点数和)
Applet graduation design based on wechat gym private education appointment applet graduation design opening report function reference
tensorboard 使用总结
面部識別試驗涉及隱私安全問題?國外一公司被緊急叫停
如何使用 SAP CDS view 中的 currency conversion 功能
启牛学堂的vip证券账户是真的安全正规吗?怎么说