-1

I want to create a project in nuxt js in version 2.15.8. I researched, tried to do some ways that I know but it does not work. Does anyone know if this is possible and how to do it?

gobs
  • 197
  • 7

2 Answers2

0

Have you tried following these steps https://nuxtjs.org/docs/get-started/installation/#manual-installation and replace :

  • yarn add nuxt by yarn add nuxt@2.15.8 if you use yarn
  • npm install nuxt by npm install nuxt@2.15.8 if you use npm
Tristan
  • 291
  • 1
  • 7
  • This, by default will create `^2.15.8`, meaning that it will still be able to go higher (to something like `2.45.7`) as explained here: https://stackoverflow.com/a/22345808/8816585 So not what OP wants. – kissu Nov 24 '22 at 11:13
0

You can set a very specific in your package.json like that

{
  "name": "my-cool-project",
  [...]
  "dependencies": {
    "nuxt": "2.15.8" //  notice that there is no ^2.15.8 here, it's important!
  },
}
kissu
  • 40,416
  • 14
  • 65
  • 133