Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

fix(next-typescript): Missing peer dependency warning #529

Closed
wants to merge 1 commit into from

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Sep 3, 2019

Fixes

➤ YN0002: │ @zeit/next-typescript@npm:1.1.1 doesn't provide @babel/core@^7.0.0-0 requested by @babel/preset-typescript@npm:7.3.3

I know this package is obsolete for next@9 but previous versions still require this plugin and with yarn pnp you actually get a runtime error

A package is trying to access a peer dependency that should be provided by its direct ancestor but isn't

Required package: @babel/core (via "@babel/core")
Required by: @babel/plugin-transform-typescript

[...]
(While processing: "/home/eps1lon/Development/src/js/material-ui/fork/.yarn/cache/@zeit-next-typescript-npm-1.1.1-c63d226a98.zip/node_modules/@zeit/next-typescript/babel.js$0")

Additional context: yarnpkg/berry#3

@eps1lon eps1lon changed the title Update package.json fix(next-typescript): Missing peer dependency warning Sep 3, 2019
@timneutkens
Copy link
Member

Thanks for your contribution. We're at this point not planning on doing a new release of @zeit/next-typescript. I've updated the readme: e7f87ce

@eps1lon
Copy link
Member Author

eps1lon commented Sep 15, 2019

Thanks for your contribution. We're at this point not planning on doing a new release of @zeit/next-typescript. I've updated the readme: e7f87ce

Which is bad for users who can't upgrade to next@^9. The current readme is misleading since it's only supported for the latest major.

@eps1lon eps1lon deleted the patch-1 branch September 15, 2019 12:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants