I recently learned that when editing a theme you need to run the command
sudo npx gulp build.
However, after doing it today to add some plausible 404 error tracking into the Dope theme, I was prompted to install email@example.com. Ever since I said yes to that prompt, I’m getting a Permission denied response.
ghost-mgr@ghostUbuntu-NYC3:/var/www/ghost$ sudo npx gulp build Need to install the following packages: firstname.lastname@example.org Ok to proceed? (y) y npm WARN deprecated email@example.com: See https://github.com/lydell/source-map-url#deprecated npm WARN deprecated firstname.lastname@example.org: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated email@example.com: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated firstname.lastname@example.org: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated email@example.com: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies sh: 1: gulp: Permission denied
Needless to say, I’m not able to update the CSS on this theme. What should I do?