Fix docker version
if you run make server
you'll run into problems because our node image is too old for Grunt to accept:
sudo make
# Ignore it if stop fails
Error response from daemon: No such container: totp-problem-running
Error: No such container: totp-problem-running
docker build -t totp-problem .
Sending build context to Docker daemon 7.703MB
Step 1/8 : FROM node:6-alpine
---> dfc29bfa7d41
Step 2/8 : WORKDIR /volume
---> Using cache
---> 156f195cae5e
Step 3/8 : RUN apk add --update sassc git ruby-rdoc ruby-dev libffi libffi-dev make gcc libc-dev
---> Using cache
---> 703432078b3a
Step 4/8 : RUN gem install sass --no-user-install
---> Using cache
---> 58657905a971
Step 5/8 : RUN npm install -g yarn grunt-cli
---> Using cache
---> 00fccb93227e
Step 6/8 : ADD package.json ./package.json
---> Using cache
---> 2eda11b542e1
Step 7/8 : RUN yarn install
---> Running in 354519ea918f
yarn install v1.22.4
info No lockfile found.
[1/4] Resolving packages...
warning grunt-cli > liftoff > findup-sync > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning grunt-cli > liftoff > findup-sync > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning grunt-browserify > watchify > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning grunt-contrib-coffee > coffee-script@1.10.0: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
warning grunt-contrib-connect > http2@3.3.7: Use the built-in module in node 9.0.0 or newer, instead
warning grunt-i18n-pug > grunt-contrib-pug > pug > pug-filters > constantinople > babel-types > babel-runtime > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
[2/4] Fetching packages...
error grunt@1.1.0: The engine "node" is incompatible with this module. Expected version ">=8". Got "6.17.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
The command '/bin/sh -c yarn install' returned a non-zero code: 1
make: *** [Makefile:10: build] Error 1