Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Failed to install @arcgis/webpack-plugin with yarn #105

Closed
likeke1997 opened this issue Dec 6, 2020 · 2 comments
Closed

Failed to install @arcgis/webpack-plugin with yarn #105

likeke1997 opened this issue Dec 6, 2020 · 2 comments

Comments

@likeke1997
Copy link

CMD:

PS C:\Users\likeke\Desktop\ha> yarn add @arcgis/webpack-plugin
yarn add v1.22.10
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://codeload.github.com/dojo/util/tar.gz/598975936554f1253d354afae3df5727deb3cb16: unexpected end of file".
info If you think this is a bug, please open a bug report with the information provided in "C:\\Users\\likeke\\Desktop\\ha\\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

yarn-error.log

Yarn version: 
  1.22.10

Node version: 
  12.12.0

Platform: 
  win32 x64

Trace: 
  Error: https://codeload.github.com/dojo/util/tar.gz/598975936554f1253d354afae3df5727deb3cb16: unexpected end of file
      at Zlib.zlibOnError [as onerror] (zlib.js:170:17)

Furthermore, I tried to install @arcgis/webpack-plugin with npm, but failed too.

@andygup
Copy link
Member

andygup commented Dec 7, 2020

That can be a frustrating problem. There's a bunch of info here on steps to try and resolve the issue on your local machine: yarnpkg/yarn#5259 (comment)

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants