Error: Cannot find module 'babel-register'
in my case my script had an error:
"scripts": { "test": "echo \"Error: no test specified\" && exit 1", "start": "node --require 'babel-register' src/index.js" }
I had to edit my script by removing quotes in babel-register, the correct statement was:
"scripts": { "test": "echo \"Error: no test specified\" && exit 1", "start": "node --require babel-register src/index.js" }