ljharb / es-abstract

ECMAScript spec abstract operations.
MIT License
114 stars 30 forks source link

Version 1.14.0 not available #73

Closed tainguyenbui closed 5 years ago

tainguyenbui commented 5 years ago

Description: es-abstract@1.14.0 has been removed from the package manager causing issues when downloading dependencies.

There are quite a few libraries that still depend on that version

yarn install v1.19.1
[1/4] Resolving packages...
[2/4] Fetching packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.14.0.tgz: Request failed \"404 Not Found\"".
info If you think this is a bug, please open a bug report with the information provided in "/home/circleci/repo/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Exited with code 1
CircleCI received exit code 1
JakeChampion commented 5 years ago

Duplicate of #65, #60, #58, #57, #56, #55

From https://github.com/ljharb/es-abstract/issues/55#issuecomment-527707767

Indeed, i apologize for the inconvenience - it hadn’t been 24 hours yet, and it had files in it that it shouldn’t have. v1.14.1 is already published, before i unpublished v1.14.0, so it should be trivial to update it in your lockfile.

ljharb commented 5 years ago

If you tell me which libraries explicitly depend on 1.14.0, i will happily go update them.

mkoo21 commented 5 years ago

If you tell me which libraries explicitly depend on 1.14.0, i will happily go update them.

Here are a few (up to date)

├─┬ eslint-plugin-react-app@6.0.3
│ ├─┬ eslint-plugin-import@2.18.2
│ │ ├─┬ array-includes@3.0.3
│ │ │ └── es-abstract@1.14.0
│ │ └─┬ object.values@1.1.0
│ │   └── es-abstract@1.14.0  deduped
│ └─┬ eslint-plugin-react@7.14.3
│   ├─┬ object.entries@1.1.0
│   │ └── es-abstract@1.14.0  deduped
│   └─┬ object.fromentries@2.0.0
│     └── es-abstract@1.14.0  deduped
└─┬ jest@24.9.0
  └─┬ jest-cli@24.9.0
    └─┬ realpath-native@1.1.0
      └─┬ util.promisify@1.0.0
        └─┬ object.getownpropertydescriptors@2.0.3
          └── es-abstract@1.14.0  deduped
ljharb commented 5 years ago

All of those use a ^, so the only issue is your lockfile being saved at the wrong time. The cost you assume when you add a lockfile is knowing how to update transitive deps in it.

If you force reinstall those top two packages, you should see much later versions of the transitive deps installed.

tainguyenbui commented 5 years ago

That is correct, I solved the issue by deleting node_modules and yarn.lock

and then installing all dependencies again

It is now all good. Thanks!