Hello! I'm running a rest api server (cold box, ab...
# adobe
z
Hello! I'm running a rest api server (cold box, abobe cf 2021) and trying to install the mail package with "cfpm install mail". It's returning this error: "One or more packages require the server to be at update 5. Since the server is at update 3, you must install the update 5 of the server. After upgrading the server update, the packages can be installed." I'm fairly new to cf and can't figure out what package needs to be updated. I did try running update in cold box, everything is up to date and still getting error. Any suggestions would be super appreciated!
b
@Zac Warner The short answer is to update your server to use Adobe CF 2021 update 5
You're using CF update 3 and cfpm will install the LATEST version of each module with no regard to whether that module version is compatible to your core version
z
thank you! this is what I needed
r
out of curiosity, can you install older versions of the packages? if so, what does that look like?
h
you can pick which version of the package to install using the CF admin gui. I believe there was a way you can list the versions of packages using cfpm and then install them that way too.
b
@ryanguill @hemi345 The syntax for specifying a version is described in the help for cfpm. It basically looks like this
Copy code
cfpm install zip:2021.0.02.328618
👍🏼 1
The overall list is still comma-delimited. You just put a colon and the exact version after each package name
There's no semv ver range support or anything fancy like that-- it's just an exact version
Run
Copy code
cfpm listall
to see all available versions for all modules