#how to create vite project with older version

1 messages · Page 1 of 1 (latest)

coarse bramble
#

Hi,

I hope you are doing well.

I seem to be having an issue with a new project I created using npm create vite@latest. I would like to create the project from an older version, preferably vite 2 if that is possible just to test and see if it is vite related or if something else could be causing it.

Is there any documentation I can refer to to assist me with creating a project with an older version?

Kind Regards,
Rihan

river trellis
#

npm create vite@latest, maybe you can try to replace the "latest" with a version

gaunt crow
#

^works

coarse bramble
#

@river trellis @gaunt crow thank you for your quick responses. I tried doing that but I kept on getting errors that said the package might not exist or version does not exist. I tried [email protected], 2.9.9 and they didn't work. I looked at the github page and saw that they were actual versions so I am not sure why it didn't work for me. But I will give it another test to see if I can get it to work

gaunt crow
#

i only tried with 3.2.0

coarse bramble
#

It worked. I was able to create a new project with an older version. Thanks for all the help. Much appreciated. Have a great day further!

gaunt crow
#

what was the problem?