danfascia / tai11s

An Eleventy starter with Tailwind CSS and PurgeCSS
https://danfascia.github.io/tai11s
MIT License
87 stars 13 forks source link

TypeError [ERR_INVALID_ARG_TYPE #37

Open ubuntupunk opened 1 year ago

ubuntupunk commented 1 year ago
> tai11s@1.0.0 clean
[clean           ] > rm -rf dist
[clean           ] 
[styles:dev      ] 
[styles:dev      ] > tai11s@1.0.0 styles:dev
[styles:dev      ] > node-sass src/styles/ --output dist/styles/ --source-map true --source-map-contents true && postcss ./dist/styles/*.css --replace
[styles:dev      ] 
[styles:dev      ] Rendering Complete, saving .css file...
[styles:dev      ] Wrote CSS to /home/afropunk/Projects/tai11s/dist/styles/index.css
[styles:dev      ] Wrote Source Map to /home/afropunk/Projects/tai11s/dist/styles/index.css.map
[styles:dev      ] Wrote 1 CSS files to /home/afropunk/Projects/tai11s/dist/styles/
[styles:dev      ] node:internal/errors:464
[styles:dev      ]     ErrorCaptureStackTrace(err);
[styles:dev      ]     ^
[styles:dev      ] 
[styles:dev      ] TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of SourceMapGenerator
[styles:dev      ]     at writeFile (node:fs:2106:5)
[styles:dev      ]     at go$writeFile (/home/afropunk/Projects/tai11s/node_modules/graceful-fs/graceful-fs.js:138:14)
[styles:dev      ]     at Object.writeFile (/home/afropunk/Projects/tai11s/node_modules/graceful-fs/graceful-fs.js:135:12)
[styles:dev      ]     at /home/afropunk/Projects/tai11s/node_modules/fs-extra/lib/output/index.js:18:27
[styles:dev      ]     at /home/afropunk/Projects/tai11s/node_modules/universalify/index.js:23:46 {
[styles:dev      ]   code: 'ERR_INVALID_ARG_TYPE'
[styles:dev      ] }
ERROR: "styles:dev" exited with 1.