Hello there,
I’m trying to do a deploy using a gatsby site, linked from gitlab repo. The problem comes while trying to do the build in netlify as follow:
────────────────────────────────────────────────────────────────
11:58:16 AM: 1. @netlify/plugin-gatsby (onPreBuild event)
11:58:16 AM: ────────────────────────────────────────────────────────────────
11:58:16 AM:
11:58:16 AM:
11:58:16 AM: ────────────────────────────────────────────────────────────────
11:58:16 AM: Plugin "@netlify/plugin-gatsby" internal error
11:58:16 AM: ────────────────────────────────────────────────────────────────
11:58:16 AM:
11:58:16 AM: Error message
11:58:16 AM: Error: Cannot cache /opt/build/repo because it is the current directory (/opt/build/repo) or a parent directory
11:58:16 AM:
11:58:16 AM: Plugin details
11:58:16 AM: Package: @netlify/plugin-gatsby
11:58:16 AM: Version: 2.0.2
11:58:16 AM: Repository: git+https://github.com/netlify/netlify-plugin-gatsby.git
11:58:16 AM: npm link: https://www.npmjs.com/package/@netlify/plugin-gatsby
11:58:16 AM: Report issues: https://github.com/netlify/netlify-plugin-gatsby/issues
I installed the netlify plugin Essential Gatsby and add to package.json and gatsby-config
Sorry in advance if a dumb question, i’m still learning to use gatsby stack.
Am I missing something?