当前位置:网站首页>NPM upgrade: unable to load file c:\users\administrator\appdata\roaming\npm\npm-upgrade ps1
NPM upgrade: unable to load file c:\users\administrator\appdata\roaming\npm\npm-upgrade ps1
2022-06-11 06:26:00 【Э Time walker to me】
The reason is that I want to upgrade the old project package.json Dependency packages in , When I'm doing npm update Only oneortwo dependent packages are updated , Not all of them are updated .
I passed before again npm update to update package.json Dependency packages in , No problem at all , So in order to update all dependent packages , I have to do this

resolvent :
1) Open as administrator powershell), You cannot run as an administrator
2). Run the command :
set-ExecutionPolicy RemoteSignedThe operation is shown in the figure below3). Run the command :set-ExecutionPolicy RemoteSigned The following screenshot appears choose : Y that will do
set-ExecutionPolicy RemoteSigned


It will be normal when it is executed again

It should be noted that , Your project upgrade is a small version of the upgrade may have no impact on your project , Upgrade on demand , It is not recommended to upgrade the large version , For details, please refer to the corresponding documents
If the red logo appears in the following figure, you should pay attention to whether to upgrade , It depends on your use in the project


边栏推荐
- Quantitative understanding (Quantitative deep revolutionary networks for effective information: a whitepaper)
- A multi classification model suitable for discrete value classification -- softmax regression
- Observer mode (listener mode) + thread pool to realize asynchronous message sending
- 022-Redis数据库0基础入门
- FPGA面试题目笔记(四)—— 序列检测器、跨时钟域中的格雷码、乒乓操作、降低静动态损耗、定点化无损误差、恢复时间和移除时间
- Handwritten promise [01] - Implementation of promise class core logic
- Error code in ijkplayer
- CCS method of installing compiler
- ijkPlayer中的错误码
- The classification effect of converting video classification data set to picture classification data set on vgg16
猜你喜欢

Installing and using sublist3r in Kali

Warning: Each child in a list should have a unique “key“ prop.

C language war "minesweeping"
![Chapter 4 of machine learning [series] naive Bayesian model](/img/77/7720afe4e28cd55284bb365a16ba62.jpg)
Chapter 4 of machine learning [series] naive Bayesian model

Squid agent

Simple understanding of pseudo elements before and after

MongoDB安装

Learn C language well from keywords

617. 合并二叉树

Notes sur les questions d'entrevue de la FPGA (IV) - - détecteur de séquence, Code gris dans le domaine de l'horloge croisée, opération de ping - pong, réduction de la perte statique et dynamique, err
随机推荐
Chapter 1 of machine learning [series] linear regression model
Transfer Learning
FPGA interview notes (IV) -- sequence detector, gray code in cross clock domain, ping-pong operation, static and dynamic loss reduction, fixed-point lossless error, recovery time and removal time
Fix the problem that the right mouse button does not have a vscode shortcut
Login and registration based on servlet, JSP and MySQL
关于parseInt()
Shuffleerror:error in shuffle in fetcher solution
On cursor in MySQL
Communication between different VLANs
FPGA Design -- ping pong operation implementation and Modelsim simulation
Error code in ijkplayer
Deployment of Flink
Convert text label of dataset to digital label
Super explanation
Docker安装Mysql、Redis
Learn a trick to use MySQL functions to realize data desensitization
Jenkins user rights management
解决ffmpeg獲取AAC音頻文件duration不准
Handwriting promise [02] - asynchronous logic implementation
How to treat the ethical issues arising from driverless Technology