Stary node

Stary node

The issue originated from your node version. Please try this:

sudo npm i -g n

Than inside your project folder

n latest

after that close your current terminal, since it will remember the old node location, open a new one and it should be fixed.

Marek Mihók