Babel Parser Error on attempting to build app on Heroku Babel Parser Error on attempting to build app on Heroku heroku heroku

Babel Parser Error on attempting to build app on Heroku


It seems the error was due to the . flag in my build script telling babel to transpile my node_modules folder, even using the --ignore node_modules flag refused to work for me for some yet to be understood reason. I had to restructure my entire folder to move my node_modules folder beyond the scope of my babel script to finally make it function properly