Example Error
file invalid: /usr/src/app/www/public/news/microsoft-reveals-super-cheap-surface-laptop-se-for/index.html 14:02:32 PM: ERROR uploading build results Error: Failed to upload file /usr/src/app/www/public/page-data/app-data.json with status 500 at Uploader. (/snapshot/app/services/cloud-runner/dist/controllers/uploader.js:0) at Generator.next () at fulfilled (/snapshot/app/services/cloud-runner/dist/controllers/uploader.js:0) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:95:5)
When you have a site using tailwindcss with a purging configuration containing "./public/**/*.html"
, it could cause this problem because Gatsby is watching the public folder and may trigger additional compilations during build.
To fix this, you can take out "./public/**/*.html"
from tailwind.config.js
Here's the official tailwind docs which shows the correct config
Comments
0 comments
Please sign in to leave a comment.