Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install @types/webpack #24347

Closed
4 tasks done
admosity opened this issue Mar 16, 2018 · 16 comments
Closed
4 tasks done

Cannot install @types/webpack #24347

admosity opened this issue Mar 16, 2018 · 16 comments

Comments

@admosity
Copy link
Contributor

admosity commented Mar 16, 2018

Looks like there's issues with the recent release and @types/webpack cannot be installed. I started a fresh npm repo and tried to add it as a dev dependency.

The analytics on https://www.npmjs.com/package/@types/webpack show no downloads today which seems very unlikely.

image

Trying to npm install locally throws a 404:

image

This breaks our CI environment as well:

image

@admosity
Copy link
Contributor Author

admosity commented Mar 16, 2018

The particular version in question is @types/webpack 3.8.11

@reverofevil
Copy link

Same with other versions (4.1.1, 4.1.0 and 4.0.0).

@admosity
Copy link
Contributor Author

admosity commented Mar 16, 2018

Yeah looks to be all versions 3.8.6+.

@jason0x43
Copy link
Contributor

At least 3.8.5 still works.

@jason0x43
Copy link
Contributor

I think maybe 3.8.6+ are broken

@tgoyer
Copy link

tgoyer commented Mar 16, 2018

@admosity We are also having trouble installing @types/webpack 3.8.11.

@admosity
Copy link
Contributor Author

admosity commented Mar 16, 2018

image

Yep looks to be the case. Looks like the workaround can be to rollback to 3.8.5 in the meanwhile. Thanks @jason0x43

@gseyffert
Copy link

+1 having trouble installing 4.0.0 and the latest 4.1.1

@xaksis
Copy link

xaksis commented Mar 16, 2018

This is also happening with 3.8.2 right now. I tried 3.8.5 but it can't find that either:

npm ERR! code E404
npm ERR! 404 Not Found: @types/webpack@^3.8.5

@victorj2307
Copy link

We have the same error and our build can't be created due these errors.

@outoftime
Copy link

yarn resolutions are really helpful for this situation

outoftime added a commit to outoftime/popcode that referenced this issue Mar 16, 2018
For some reason later versions of this package [have disappeared from the
repositories](DefinitelyTyped/DefinitelyTyped#24347).

So just resolve to 3.8.5 temporarily until that is fixed.
outoftime added a commit to outoftime/popcode that referenced this issue Mar 16, 2018
For some reason later versions of this package [have disappeared from the
repositories](DefinitelyTyped/DefinitelyTyped#24347).

So just resolve to 3.8.5 temporarily until that is fixed.
@HIRANO-Satoshi
Copy link

3.8.5 does not work.

Couldn't find any versions for "webpack" that matches "3.8.5"

@alan-agius4
Copy link
Contributor

This seems to have been solved.
Check here: https://github.com/npm/registry/issues/292

@RomanHotsiy
Copy link
Contributor

@alan-agius4, I will deploy a new official demo soon. You can test it running npm run start:demo or yarn start:demo in the repo main folder. Check it out, maybe you can contribute: https://github.com/Rebilly/ReDoc/tree/react-rewrite/demo

kraenhansen added a commit to realm/realm-studio that referenced this issue Mar 17, 2018
#759)

* Targeting ES6, upgrading to TypeScript 2.7 and fixing issues from that

* Reverted the update of webpack types

See DefinitelyTyped/DefinitelyTyped#24347

* Ran tslint-prettier

* Upgraded types and removed the unneeded DummyTransport again

* Removed the note on ES5 vs ES6 in the guidelines
@Alexander-Taran
Copy link

@admosity can you close this one?
It was resolved

@admosity
Copy link
Contributor Author

admosity commented Mar 19, 2018

Yep seems to be the case except the download counters are still busted. Closing this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests