ember-medium-editor icon indicating copy to clipboard operation
ember-medium-editor copied to clipboard

Extracting tar content of undefined failed, the file appears to be corrupt: "ENOENT

Open yangjinxiong opened this issue 6 years ago • 3 comments

i run the command below in windows 10: yarn add --dev ember-medium-editor

The error log is : error https://registry.yarnpkg.com/ember-medium-editor/-/ember-medium-editor-0.1.4.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "ENOENT: no such file or directory, open 'C:\Users\xxx\AppData\Local\Yarn\Cache\v2\npm-ember-medium-editor-0.1.4-0955fbde5bd646a44a2874b2b87e594ea034f94c\Icon\r'" info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

yangjinxiong avatar Dec 28 '18 06:12 yangjinxiong

Hi @yangjinxiong . Sorry I cannot test it on windows 10, but looks like yarn registry error and not error of the package itself. Could you try to install it with ember install ember-medium-editor?

m-basov avatar Dec 28 '18 07:12 m-basov

@kolybasov I build my project with Gradle 4.9. The project uses node-v8.12.0 and yarn-v1.10.1

yangjinxiong avatar Dec 29 '18 04:12 yangjinxiong

@kolybasov i install ember-medium-editor using npm6.4.1 in windows 10 cmd as below: npm install -g ember-medium-editor The error log is below: npm WARN deprecated [email protected]: Please replace with usage of fs.existsSync npm WARN tar ENOENT: no such file or directory, open 'F:\buildtools\nodejs\node_global\node_modules.staging\ember'medium-editor-9d939698\Icon npm WARN [email protected] requires a peer of @babel/core@^7.0.0-beta.42 but none is installed. You must install peer dependencies yourself.

It also can't find the Icon folder.

yangjinxiong avatar Dec 29 '18 05:12 yangjinxiong