delucis/astro-embed

Astro v2

JOELwindows7 opened this issue · 1 comments

Pls give support for Astro v2

Astro v2 has been released. This integration need to be updated to add this support.

one of the error when npm upgrade & related

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\joelr\AppData\Local\npm-cache\_logs\2023-02-05T13_49_03_268Z-debug-0.log
PS W:\starring codes\Astro Projects\perkedel-astro> npm remove astro-github-stats
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: astro-embed@0.1.3
npm ERR! Found: astro@2.0.6
npm ERR! node_modules/astro
npm ERR!   peer astro@"^1.0.0 || ^2.0.0-beta" from @astro-community/astro-embed-vimeo@0.1.2
npm ERR!   node_modules/@astro-community/astro-embed-vimeo
npm ERR!     @astro-community/astro-embed-vimeo@"^0.1.0" from astro-embed@0.1.3
npm ERR!     node_modules/astro-embed
npm ERR!       astro-embed@"^0.1.3" from the root project
npm ERR!     @astro-community/astro-embed-vimeo@"^0.1.0" from @astro-community/astro-embed-integration@0.1.2
npm ERR!     node_modules/astro-embed/node_modules/@astro-community/astro-embed-integration
npm ERR!       @astro-community/astro-embed-integration@"^0.1.2" from astro-embed@0.1.3
npm ERR!       node_modules/astro-embed
npm ERR!         astro-embed@"^0.1.3" from the root project
npm ERR!   peer astro@"^1.0.0 || ^2.0.0-beta" from @astro-community/astro-embed-youtube@0.2.2
npm ERR!   node_modules/@astro-community/astro-embed-youtube
npm ERR!     @astro-community/astro-embed-youtube@"^0.2.0" from astro-embed@0.1.3
npm ERR!     node_modules/astro-embed
npm ERR!       astro-embed@"^0.1.3" from the root project
npm ERR!     @astro-community/astro-embed-youtube@"^0.2.0" from @astro-community/astro-embed-integration@0.1.2
npm ERR!     node_modules/astro-embed/node_modules/@astro-community/astro-embed-integration
npm ERR!       @astro-community/astro-embed-integration@"^0.1.2" from astro-embed@0.1.3
npm ERR!       node_modules/astro-embed
npm ERR!         astro-embed@"^0.1.3" from the root project
npm ERR!   2 more (@astrojs/markdown-remark, the root project)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer astro@"^1.0.0-beta.10" from astro-embed@0.1.3
npm ERR! node_modules/astro-embed
npm ERR!   astro-embed@"^0.1.3" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: astro@1.9.2
npm ERR! node_modules/astro
npm ERR!   peer astro@"^1.0.0-beta.10" from astro-embed@0.1.3
npm ERR!   node_modules/astro-embed
npm ERR!     astro-embed@"^0.1.3" 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.
npm ERR!
npm ERR! See C:\Users\joelr\AppData\Local\npm-cache\eresolve-report.txt for a full report.

This should work with v0.2.1 — please try updating!