yarnpkg/yarn

Error adding remote tarball package

Open

#3,160 创建于 2017年4月15日

在 GitHub 查看
 (4 评论) (1 反应) (0 负责人)JavaScript (41,514 star) (2,731 fork)batch import
cat-bugcat-documentationgood first issuehelp wantedtriaged

描述

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

贡献者指南

Error adding remote tarball package · yarnpkg/yarn#3160 | Good First Issue