angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

npm WARN tarball tarball data for @angular/compiler@~7.0.0 seems to be corrupted

Open maltekosian opened this issue 8 years ago • 14 comments

Bug Report or Feature Request (mark with an x)

- [x ] bug report -> please search issues before submitting
- [ ] feature request

Command (mark with an x)

- [x ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Versions

npm --version 6.4.1 ng --version Angular CLI: 7.0.2 Node: 10.9.0 OS: win32 x64 Angular: ...

Package Version

@angular-devkit/architect 0.10.2 @angular-devkit/core 7.0.2 @angular-devkit/schematics 7.0.2 @schematics/angular 7.0.2 @schematics/update 0.10.2 rxjs 6.3.3 typescript 3.1.3

Repro steps

call ng new projectname

The log given by the failure

npm WARN tarball tarball data for @angular/compiler@~7.0.0 (sha512-4fkohfGyG1BEpeYenOartuJmduyZ/R3XQx46hDDiR/9A8/Go4qLGkgr9Bd/JL/gPIR1XAHH9D5ii2sh+28ZEmA==) seems to be corrupted. Trying one more time. [ ......] \ extract: sill extract @angular/common@~7.0.0 extracted to xxxxxxxxxxxxxxxxxxxx

Desired functionality

It shall not slow down and than stop inbetween

maltekosian avatar Oct 24 '18 05:10 maltekosian

I am unable to replicate this, and usefully such errors are related to npm registry, and this might be some regional server problem on npmjs's side.

alan-agius4 avatar Oct 24 '18 07:10 alan-agius4

I am facing this issue currently. When i am running command command ng serve. Stop at this place for some time and start throwing warning and errors. npm WARN tarball tarball data for [email protected] (sha512-tDMYfVtvpb96msS1lDX9MEdHrW4yOuZ4Kdc4Him9oU796XldPYF/t2+uKoX0BBa0hXXwDlqYQbXY5Rzjzc5hBA==) seems to be corrupted. Trying one more time.

MohitKumarSharma avatar Dec 12 '18 07:12 MohitKumarSharma

Guys facing same issue. Is there any workaround for this?

vinothvkr avatar Dec 12 '18 09:12 vinothvkr

I am facing this issue currently. When i am running command command ng serve. Stop at this place for some time and start throwing warning and errors. npm WARN tarball tarball data for [email protected] (sha512-tDMYfVtvpb96msS1lDX9MEdHrW4yOuZ4Kdc4Him9oU796XldPYF/t2+uKoX0BBa0hXXwDlqYQbXY5Rzjzc5hBA==) seems to be corrupted. Trying one more time.

finally able to run. In my case I had followed these steps: Steps: delete package-lock.json from your project. and run this command npm install --registry https://registry.cnpmjs.org

MohitKumarSharma avatar Dec 13 '18 06:12 MohitKumarSharma

@MohitKumarSharma Not Working for me, tried the same

nick1740 avatar Dec 13 '18 10:12 nick1740

I'm getting this on the latest build: 1.7.4

the registry trick didn't work either.

largeDachshund avatar Dec 22 '18 18:12 largeDachshund

npm WARN tarball tarball data for @angular/compiler@~7.1.0 (sha512-AvYXtjEJ27Rhv4c27DXNEa58Lit63jdydzbz7VuyFhNU+FwDUK2DC4gZe0nWZsf7HUniJezVRFkECDCZQeSKCQ==) seems to be corrupted. Trying one more time.

having the same problem here ... I did re-install angular cli several times but no-one is working. npm uninstall and then npm clear cache --force and then npm install @angular/cli ....but sad same error appears. even with and w/o cmd run as admin.

unmeimusu avatar Dec 31 '18 23:12 unmeimusu

Solution: npm install -global [email protected] Rerun command: npm install -global @angular/cli

The above solve the error: WARN tarball tarball data for [email protected] (sha512-tDMYfVtvpb96msS1lDX9MEdHrW4yOuZ4Kdc4Him9oU796XldPYF/t2+uKoX0BBa0hXXwDlqYQbXY5Rzjzc5hBA==) seems to be corrupted.

daveshale avatar Jan 04 '19 09:01 daveshale

npm WARN tarball tarball data for @angular/compiler@~7.1.0 (sha512-AvYXtjEJ27Rhv4c27DXNEa58Lit63jdydzbz7VuyFhNU+FwDUK2DC4gZe0nWZsf7HUniJezVRFkECDCZQeSKCQ==) seems to be corrupted. Trying one more time.

having the same problem here ... I did re-install angular cli several times but no-one is working. npm uninstall and then npm clear cache --force and then npm install @angular/cli ....but sad same error appears. even with and w/o cmd run as admin.

That's work to me, but unless "clear" i use "clean"

alvesa avatar Feb 22 '19 22:02 alvesa

I was having the same problem ,after some research i found that the version is different in Package-lock.json is different for the described package .so i just changed the package version and it works fine. Search with the mentioned package name in package-lock file and make the version same.

csinghVBS avatar Apr 01 '19 10:04 csinghVBS

i have the same problem,do you solve it?

renyuns avatar Apr 18 '19 05:04 renyuns

i have the same problem,do you solve it?

Please check the version of package name mentioned in the issue in package-lock.json file. if the version is different make it same.

csinghVBS avatar Apr 18 '19 06:04 csinghVBS

I installed the compiler 7.1.4 instead separately and it works

charybdeBE avatar Sep 03 '19 08:09 charybdeBE

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.