Install npm first before installing other packages

Signed-off-by: James Oguya <oguyajames@gmail.com>