Home
Support Forums

Alternative for npm run build

Hi is there an alternative to npm run build to upload a react web-app to netlify? I’m getting this error every time I try to create the build folder

$ npm run build

> express@3.2.2 build
> cross-env GENERATE_SOURCEMAP=false react-scripts build

Creating an optimized production build...
Failed to compile.

Cannot read property 'includes' of undefined

It doesn’t show where is the error. Can we upload zip folders to netlify instead of build folders?

Hi @Ulrik7000

Closing this topic as it is a duplicate another post made by you. I will address this question on the other thread Uploading problem to Netlify

1 Like