问题1:
解决方法:
1.以管理员身份运行powershell
不会找的,用win + s 搜索powershell.
2.输入set-ExecutionPolicy RemoteSigned
然后输入A 回车
问题解决
问题2:找不到cnpm问题
这个需要切换路径
npm config set prefix “E:\nodejs\node_global\node_modules”
npm config set cache “E:\nodejs\node_cache”
最后配置nodejs环境变量就可以了