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

Import type Language #211

Closed
dev-shetty opened this issue Jun 2, 2023 · 4 comments
Closed

Import type Language #211

dev-shetty opened this issue Jun 2, 2023 · 4 comments
Assignees

Comments

@dev-shetty
Copy link

I was following a tutorial for NextJS and I got this error while importing the Language type

Any other way to import it in the new version?

image

@urbanobaz
Copy link

same @deveesh-shetty

@dev-shetty
Copy link
Author

If you are stuck I suggest you downgrade to version 1.3.5 I did the same, till we find a solution

npm install prism-react-renderer@1.3.5

or

yarn add prism-react-renderer@1.3.5

@urbanobaz
Copy link

perfect! I tried it and it's working. Thank you @deveesh-shetty

@carloskelly13
Copy link
Contributor

Should be addressed in https://github.com/FormidableLabs/prism-react-renderer/releases/tag/prism-react-renderer%402.0.6

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

3 participants