Error running command: fork/exec /usr/local/bin/build: argument list too long

Hey,
I build site in gatsby and build on local perfetcly but not in netlify
here are my logs
11:30:15 AM: Build ready to start

11:30:19 AM: build-image version: 3031d4c9e432fd7016f6279fc9ad706f9205d845

11:30:19 AM: build-image tag: v3.3.17

11:30:19 AM: buildbot version: da42b14a989873e00cc6f36bc354c01953474181

11:30:19 AM: Fetching cached dependencies

11:30:19 AM: Starting to download cache of 254.2KB

11:30:19 AM: Finished downloading cache in 75.513877ms

11:30:19 AM: Starting to extract cache

11:30:19 AM: Failed to fetch cache, continuing with build

11:30:19 AM: Starting to prepare the repo for build

11:30:19 AM: No cached dependencies found. Cloning fresh repo

11:30:19 AM: git clone https://github.com/parasqltech/demo

11:30:21 AM: Preparing Git Reference refs/heads/master

11:30:35 AM: Starting build script

11:30:35 AM: Build command unable to start

11:30:35 AM: Error running command: fork/exec /usr/local/bin/build: argument list too long

11:30:35 AM: Failing build: Failed to build site

11:30:35 AM: Failed during stage ‘building site’: fork/exec /usr/local/bin/build: argument list too long

11:30:35 AM: Finished processing build request in 16.588047215s

interesting! can you post your package.json and a screenshot of your build settings please?