yarnpkg/yarn

Error adding remote tarball package

Open

#3160 aperta il 15 apr 2017

Vedi su GitHub
 (4 commenti) (1 reazione) (0 assegnatari)JavaScript (2731 fork)batch import
cat-bugcat-documentationgood first issuehelp wantedtriaged

Metriche repository

Star
 (41.514 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Do you want to request a feature or report a bug? Report a bug

What is the current behavior?

When adding a remote tarball package an error occurs:

error An unexpected error occurred: "https://github.com/blikblum/cherrytree/releases/download/svelte-2.4.2/build.tar.gz: EISDIR: illegal operation on a directory, open '/home/luiz/.cac he/yarn/v1/.tmp/9417ab587e459fe380a7e913f4160254/'".

If the current behavior is a bug, please provide the steps to reproduce.

In an empty folder:

yarn init // create a dummy project yarn add https://github.com/blikblum/cherrytree/releases/download/svelte-2.4.2/build.tar.gz

Manually updating dependencies in package.json like

dependencies: {
 "cherrytree": "https://github.com/blikblum/cherrytree/releases/download/svelte-2.4.2/build.tar.gz"
}

and doing yarn install the error also occurs

What is the expected behavior? Package from link https://github.com/blikblum/cherrytree/releases/download/svelte-2.4.2/build.tar.gz should be installed and added to dependencies

Please mention your node.js, yarn and operating system version. Yarn 0.23.2 Node 6.10 Linux Mint 17.3 and Windows 10

Guida contributor