y1zhou / hugo-northeast

A Hugo theme using Tailwind CSS.

Home Page:https://www.y1zhou.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TailwindCSS-jit not working

y1zhou opened this issue · comments

Related to gohugoio/hugo#8343. Error message as follows:

hugo v0.91.2+extended darwin/amd64 BuildDate=unknown
Error: Error building site: POSTCSS: failed to transform "css/northeast-tailwind.css" (text/css): Error: ENOENT: no such file or directory, stat '/knowledge-base/stdin'
    at Object.statSync (node:fs:1538:3)
    at trackModified (/knowledge-base/themes/hugo-northeast/node_modules/tailwindcss/lib/lib/setupContextUtils.js:470:39)
    at Object.getContext (/knowledge-base/themes/hugo-northeast/node_modules/tailwindcss/lib/lib/setupContextUtils.js:822:5)
    at /knowledge-base/themes/hugo-northeast/node_modules/tailwindcss/lib/lib/setupTrackingContext.js:141:53
    at /knowledge-base/themes/hugo-northeast/node_modules/tailwindcss/lib/processTailwindFeatures.js:37:11
    at plugins (/knowledge-base/themes/hugo-northeast/node_modules/tailwindcss/lib/index.js:22:68)
    at LazyResult.runOnRoot (/usr/local/lib/node_modules/postcss/lib/lazy-result.js:339:16)
    at LazyResult.runAsync (/usr/local/lib/node_modules/postcss/lib/lazy-result.js:393:26)
    at async Promise.all (index 0) {
  errno: -2,
  syscall: 'stat',
  code: 'ENOENT',
  path: '/knowledge-base/stdin'
}

Should probably revert #17 until the upstream issue is fixed.