Suddenly I’ve got similar error but related to a different plugin:
8:20:57 AM: Plugin "@netlify/plugin-gatsby" internal error
8:20:57 AM: ────────────────────────────────────────────────────────────────
8:20:57 AM:
8:20:57 AM: Error message
8:20:57 AM: CpyError: Cannot copy from `.cache/adapters/node_modules/.bin/download-msgpackr-prebuilds` to `/opt/build/cache/cwd/.cache/adapters/node_modules/.bin/download-msgpackr-prebuilds`: EISDIR: illegal operation on a directory '/opt/build/repo/.cache/adapters/node_modules/.bin/download-msgpackr-prebuilds'
8:20:57 AM:
8:20:57 AM: Plugin details
8:20:57 AM: Package: @netlify/plugin-gatsby
8:20:57 AM: Version: 1.0.3
8:20:57 AM: Repository: git+https://github.com/netlify/netlify-plugin-gatsby.git
8:20:57 AM: npm link: https://www.npmjs.com/package/@netlify/plugin-gatsby
8:20:57 AM: Report issues: https://github.com/netlify/netlify-plugin-gatsby/issues
8:20:57 AM:
8:20:57 AM: Error location
8:20:57 AM: In "onPostBuild" event in "@netlify/plugin-gatsby" from Netlify app
8:20:57 AM: at pMap.concurrency.concurrency (file:///opt/buildhome/node-deps/node_modules/cpy/index.js:261:12)
8:20:57 AM: at async file:///opt/buildhome/node-deps/node_modules/p-map/index.js:121:20
8:20:57 AM:
8:20:57 AM: Error properties
8:20:57 AM: {
8:20:57 AM: errno: -21,
8:20:57 AM: code: 'EISDIR',
8:20:57 AM: source: '/opt/build/repo/.cache/adapters/node_modules/.bin/download-msgpackr-prebuilds'
8:20:57 AM: }
Any help would be appreciated.