Error: Could not resolve “proxy-agent“ imported by “urllib“. Is it installed?

背景


Electron+Vue3.3.4+使用阿里云OSS服务上传。
当我使用Nodejs版本上传文件时,提示Error: Could not resolve "proxy-agent" imported by "urllib". Is it installed?

解决方案


cnpm install proxy-agent

你可能感兴趣的:(Web,vue)