I am getting an error when I run sls offline, and I can't find any documentation online.
error:
Serverless: Offline requires Serverless v1.x.x but found 2.4.0. Exiting.
The good thing is that If you have the Serverless Framework CLI installed locally within your Service (i.e. project) folder, that version of the Framework will be run, instead of a globally installed version.
Therefore I installed Serverless V1 locally: npm install [email protected] --save-dev
and now serverless-offline works