Gatsby build issues

Hi there,

Hoping for some help on the following, having an issue with a project that was building fine one month ago - I deployed yesterday and found the following error:

23:51:29.698	AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG
23:51:29.698	
23:51:29.698	  NestedError: Cannot copy from `.cache/.eslintrc.json` to `/opt/build/cache/cwd
23:51:29.698	  /.cache/.eslintrc.json`: Cannot create directory `/opt/build/cache/cwd/.cache`
23:51:29.698	  : EACCES: permission denied, mkdir '/opt/build/cache'

I tried deploying on version 2

23:55:46.870	Using v2 root directory strategy
23:55:46.897	Success: Finished cloning repository files
23:56:15.795	Failed: error occurred while running build command

Is there some documentation on what I need to update here?

The build command has changed in Cloudflare pages to

npx gatsby build

Locally this works fine, no issue.

.nvrmc was and continues to be

18.16.0

Any help would be appreciated

Like you, just a few days ago, I started to have a similar issue for no apparent reason: EACCES: permission denied, mkdir '/app'

Makes me wonder whether something happened on the Cloudflare side.