当前位置:网站首页>Installing the nodejs environment
Installing the nodejs environment
2022-06-28 18:48:00 【kunwen123】
PS C:\Users> cnpm -v
cnpm : Unable to load file C:\Users\D06340\AppData\Roaming\npm\cnpm.ps1, Because scripts are not allowed to run on this system . For more information , see also https:/g
o.microsoft.com/fwlink/?LinkID=135170 Medium about_Execution_Policies.
The position of That's ok :1 character : 1
- cnpm -v
+ CategoryInfo : SecurityError: (:) [],PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess
PS C:\Users> set-ExecutionPolicy RemoteSigned
set-ExecutionPolicy : For registry keys “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell” The interview of
Be rejected . To change the default (LocalMachine) Execution strategy of scope , Please use “ Run as administrator ” Option to start the Windows PowerShell. To change the current user's
Execution strategy , Please run “Set-ExecutionPolicy -Scope CurrentUser”.
The position of That's ok :1 character : 1
- set-ExecutionPolicy RemoteSigned
+ CategoryInfo : PermissionDenied: (:) [Set-ExecutionPolicy], UnauthorizedAccessException + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.SetExecutionPolicyCommand
PS C:\Users\D06340> set-ExecutionPolicy -Scope CurrentUser
In the command pipeline 1 Of cmdlet Set-ExecutionPolicy
Please provide values for the following parameters :
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 install : https://www.yarnpkg.com/lang/en/
边栏推荐
- Collection of real test questions
- 双功能交联剂丨Lumiprobe 磺基花青7二羧酸研究
- Lumiprobe ProteOrange 蛋白质凝胶染料说明书
- Lumiprobe 蛋白质标记研究方案
- 中金财富开户安全吗?开过中金财富的讲一下
- Advanced - Introduction to business transaction design and development
- Lumiprobe非荧光炔烃研究丨DBCO NHS 酯
- Database Experiment 7 integrity constraints
- tensorboard 使用总结
- 深入解析kubernetes中的选举机制
猜你喜欢

Enhancing steam and engineering education from theory to practice

render函数解析

Steam education to break the barriers between disciplines

Easyexcel learning notes

tensorboard 使用总结

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

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

声网 VQA:将实时互动中未知的视频画质用户主观体验变可知

Analyzing the practical development of robot teaching

Understanding of closures
随机推荐
Professor Michael Wooldridge of Oxford University: how the AI community views neural networks in the past 40 years
PMP怎么补考?补考费用是多少?
中金财富开户安全吗?开过中金财富的讲一下
数字化转型的1个目标,3大领域,6大因素和9个环节
Go, begin, end, for, after, instead of
匿名函数this指向以及变量提升
[unity3d] emission (raycast) physical ray (Ray)
新工作第一天
解析机器人主持教学的实践发展
Yixin Huachen: real estate enterprises want to grasp the opportunity of the times for digital transformation
Alist+RaiDrive 给电脑整个80亿GB硬盘
Win 10创建一个gin框架的项目
select/poll/epoll
leetcode 1689. Partitioning Into Minimum Number Of Deci-Binary Numbers(最少的“二进制数“个数)
Is it reliable to open an account for the shares of Oriental Wealth software? Where is safe to open an account
基于固态激光雷达辅助的十六线机械雷达和单目相机的外参标定方法
ANR Application Not Responding
数据资产为王,如何解析企业数字化转型与数据资产管理的关系?
PCB线路板布局和布线都有哪些设计要求?
AOSP清华镜像下载错误解决