6 Replies
18:30:15.503 npm ERR! notsup Required: {"node":">=18.18.0"} 18:30:15.504 npm ERR! notsup Actual: {"npm":"9.6.7","node":"v18.17.1"}You're on Node.js 18.17.1 but 18.18.0+ is needed you'll need to bump your Node.js version - https://developers.cloudflare.com/pages/configuration/language-support-and-tools/#supported-languages-and-tools
when i do node --version in console i see 20.15.0
Local != build environment
You can have whatever ver installed locally but that doesn't mean the build system knows what node version to use
It attempts to pickup a ver from the common places (package.json, .nvmrc and .node-version) but if you have none of those all it can do is default to a version
so best to do is to add it in package json
so it installs that version
got it
thanks
1 more question @Walshy | Deploying so this site is for a discord bot to have a dashboard, so the backend is python you know how i could use it or is there a docs for?
or do i just need to host the bot on vps and talk with each other
bot would need to be on a vps
pages is for sites
thanks