pkg报错Error! ESOCKETTIMEDOUT 和 Asset not found by direct link

C:\Users\Administrator\Desktop\vivo X6S A 20200407210303.vbak>pkg savebianqian.js  
> [email protected]
> Targets not specified. Assuming:
  node12-linux-x64, node12-macos-x64, node12-win-x64
> Fetching base Node.js binaries to PKG_CACHE_PATH
  fetched-v12.16.1-linux-x64   [                    ] 0%
> Error! read ECONNRESET
> Asset not found by direct link:
  {"tag":"v2.6","name":"uploaded-v2.6-node-v12.16.1-linux-x64"}
  fetched-v12.16.1-linux-x64   [                    ] 0%
> Error! ESOCKETTIMEDOUT
C:\Users\Administrator\Desktop\vivo X6S A 20200407210303.vbak>pkg -t win savebianqian.js  
> [email protected]
> Fetching base Node.js binaries to PKG_CACHE_PATH
  fetched-v12.16.1-win-x64     [                    ] 0%
> Error! ESOCKETTIMEDOUT
> Asset not found by direct link:
  {"tag":"v2.6","name":"uploaded-v2.6-node-v12.16.1-win-x64"}
  fetched-v12.16.1-win-x64     [                    ] 0%
> Error! ESOCKETTIMEDOUT

pkg打包一个JavaScript文件时出现错误,正在排查

猜你喜欢

转载自www.cnblogs.com/guoxinyu/p/12657395.html
今日推荐