I'll try to answer your question
- Old lock file means you are using newer version of node js
- Try downgrading ( at the time of this writing hashlips seems to be using node 14)
- Try install canvas manually, because "prebuilds" are not supported for M1 Macs as far as I understand
a. "brew install pkg-config cairo pango libpng jpeg giflib librsvg" b. "npm install canvas" //Inside hashlips directory
After that everything should work