Closed evomac closed 2 years ago
We are also having. We are having to pin rehype-prism to version 1.0.0 for this to work
jup in this commit
the following change happend
"peerDependencies": {
- "unified": "^9.2.1"
+ "unified": "^9 | ^10"
while it should be
"peerDependencies": {
- "unified": "^9.2.1"
+ "unified": "^9 || ^10"
Note the double ||
what a stupid mistake . -_-||
A new version has been released, upgrade to 1.0.2 and try again.
The issue is corrected for my team. Thank you.
Describe the bug When I'm trying to install rehype-prism it says a package version that doesn't exist
To Reproduce Steps to reproduce the behavior:
❯ npm install rehype-prism@1.0.1 npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: rehype-prism@1.0.1 npm WARN Found: unified@9.2.0 npm WARN node_modules/unified npm WARN unified@"9.2.0" from @mdx-js/mdx@1.6.22 npm WARN node_modules/@mdx-js/mdx npm WARN @mdx-js/mdx@"^1.6.22" from @web/dev-server-storybook@0.3.7-next.0 npm WARN node_modules/@web/dev-server-storybook npm WARN 1 more (storybook-addon-markdown-docs) npm WARN 1 more (remark-mdx) npm WARN npm WARN Could not resolve dependency: npm WARN peer unified@"^9 | ^10" from rehype-prism@1.0.1 npm WARN node_modules/rehype-prism npm WARN rehype-prism@"1.0.1" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: rehype-prism@1.0.1 npm WARN Found: unified@undefined npm WARN node_modules/unified npm WARN npm WARN Could not resolve dependency: npm WARN peer unified@"^9 | ^10" from rehype-prism@1.0.1 npm WARN node_modules/rehype-prism npm WARN rehype-prism@"1.0.1" from the root project npm ERR! code ETARGET npm ERR! notarget No matching version found for unified@^9 | ^10. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist.
Expected behavior Correctly published pack and build package.json file
Platform (please complete the following information):