zeon-studio / astroplate

Astroplate is a free starter template built with Astro, TailwindCSS & TypeScript providing everything you need to jumpstart your Astro project. Get started with Astroplate and save yourself hours of work!
https://zeon.studio/preview?project=astroplate
MIT License
576 stars 176 forks source link

Unable to resolve dependency tree #9

Closed aspdotmike closed 1 year ago

aspdotmike commented 1 year ago

On running npm install for the first time getting teh below error(s):

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: astroplate@2.0.0
npm ERR! Found: astro@3.0.7
npm ERR! node_modules/astro
npm ERR!   astro@"^3.0.7" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer astro@"^2.10.0" from @astrojs/image@0.17.3
npm ERR! node_modules/@astrojs/image
npm ERR!   @astrojs/image@"^0.17.3" from the root project
tfsomrat commented 1 year ago

Hey @aspdotmike, please take a pull again, then delete node_modules, .astro, yarn.lock, and package-lock.json file, and then install npm again. it should work

aspdotmike commented 1 year ago

Thanks @tfsomrat for the quick response!!