#✅ Hello, I try to update directus from 9.23.1 to 9.2...

16 messages · Page 1 of 1 (latest)

stiff juncoBOT
#

Hello, I try to update directus from 9.23.1 to 9.25.1 with npm update and npx directus database migrate:latest but it's not working.. i'm still on 9.23.1
am I doing it right?.

Just so you know, we have moved your message here, @uncut drift. In future, please ask questions in one of the help channels as per the server rules.

@pearl condor was the person who moved it, so if there's aditional context, they will add it here for you. Your original post has been deleted.

#

Thanks for posting! This is a community powered server, so you may or may not get an answer based on available help and expertise. To increase your chances of somebody being able to help you, please help us help you making sure you:

  • Adding an explanation of exactly what you're trying to achieve.
  • Adding any and all related code or previous attempts.
  • Describing the exact issue or error you are facing.
  • Posting any screenshots if applicable.
  • Reading through https://stackoverflow.com/help/how-to-ask.

When you're done with this thread, please close it. Thanks! ✨

(If you have a support agreement and need help, please contact the core team via email.)

pearl condor
#

did you update the version in your package.json? thats probably locked to 9.23.1

uncut drift
#

no and it's weird because I don't have directus in my dependancies 😅

{
    "name": "my-project.dev",
    "version": "1.0.0",
    "description": "",
    "main": "index.js",
    "scripts": {
      "test": "echo \"Error: no test specified\" && exit 1",
      "start": "npx directus start"
    },
    "author": "",
    "license": "ISC",
    "dependencies": {
      "mysql": "^2.18.1",
      "sqlite3": "^5.1.6"
    }
  }
#

I created the project with npx directus init

pearl condor
#

shouldnt there be a "directus" dependency there 🤔

uncut drift
#

yes i'm only discovering it now 😅

#

because the project is running very well otherwise

#

(I use directus for not very long, I have not yet had time to master it)

pearl condor
#

probably installed to a global context somehow, can you try adding the dependency then npm install and npx directus start?

uncut drift
#

mmmh ok.. all is working fine!! 🤔
I think that when we start a new project with npx directus init it installs it well in the node_module directory but does not declare it in the package.json 🤔🤔🤔🤔🤔

#

thank you by the way ! 🙏

pearl condor
#

yeah when running npx it installs it to node_modules anyway but if there is no package entry there is no way to update that 😄

uncut drift
#

yes

#

I would have learned something useful today

stiff juncoBOT
#

✅ Hello, I try to update directus from 9.23.1 to 9.2...