Modyfi / vite-plugin-yaml

Transform a YAML file to a JS object
75 stars 15 forks source link

Error installing with vite 3.0.7 #6

Closed markusand closed 2 years ago

markusand commented 2 years ago

I updated some dependencies and this plugin seems not to support Vite 3.0.7, although supposedly hould be supported ^3.0.0. Using --force flag works, but this should not be the solution.

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: command@0.0.0 npm ERR! Found: vite@3.0.7 npm ERR! node_modules/vite npm ERR! dev vite@"^3.0.7" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer vite@"^2.6.0" from @modyfi/vite-plugin-yaml@1.0.2 npm ERR! node_modules/@modyfi/vite-plugin-yaml npm ERR! dev @modyfi/vite-plugin-yaml@"*" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

tonyketcham commented 2 years ago

I just published the latest version which support for Vite 3.x was added. Please update the plugin to v1.0.3!

Closing as duplicate of #4