NPM error can't find present "es2015" - babel/node/react NPM error can't find present "es2015" - babel/node/react heroku heroku

NPM error can't find present "es2015" - babel/node/react


From what i understand, heroku defaults to adding the --production flag, which inturn doesnt install your devdependencies. I'd move all necessary dependencies to create your build to devDep to dependencies.or

heroku config:set NPM_CONFIG_PRODUCTION=false