Unable to create builds from exported React files


#1

Hey team. I tried following along to their video on hosting to Firebase (which I can’t seem to link because I’m a new user).

When I tried to npm run-script build, I got this error (attached).

I’ve gotten this result with three different projects, including that one restaurant app project from their Firebase tutorial (which I can’t link because I’m n noob user).

Is anyone else having this same problem? Thanks.


#2

Hi, try to convert arrow functions to functions in JavaScript


#3

This is sorted. Thanks, team.