Hello guys.
I have 2 problems.
First I was trying to use DrawSVGPlugin with Gatsby, I followed docs, checked examples but svg doesn't draw or even appear at all. So i decided to recreate this problem with git repo, so I can share it with you. I decided to host this repo to Netlify, but then I realized it couldn't build my site. This is the error I'm getting:
1:44:01 PM: npm ERR! code ENOENT
1:44:01 PM: npm ERR! syscall stat
1:44:01 PM: npm ERR! path /opt/build/repo/gsap-bonus.tgz
1:44:01 PM: npm ERR! errno -2
1:44:01 PM: npm ERR! enoent ENOENT: no such file or directory, stat '/opt/build/repo/gsap-bonus.tgz'
1:44:01 PM: npm ERR! enoent This is related to npm not being able to find a file.
1:44:01 PM: npm ERR! enoent
1:44:01 PM: npm ERR! A complete log of this run can be found in:
1:44:01 PM: npm ERR! /opt/buildhome/.npm/_logs/2020-08-26T11_44_01_285Z-debug.log
1:44:01 PM: Error during NPM install
1:44:01 PM: Error running command: Build script returned non-zero exit code: 1
1:44:01 PM: Failing build: Failed to build site
1:44:01 PM: Failed during stage 'building site': Build script returned non-zero exit code: 1
1:44:01 PM: Finished processing build request in 33.57453424s
Also, here is the repo I mentioned:
github.com/adiusz/gatsby-gsap-example/
All the actions are taking place in src/pages/index.js file. I would really appreciate if someone look into this and tell me why I'm failing.
Thanks!