Check your version of Node. By default, node 10 will be installed on your RPi. You need to downgrade it to version 9: