Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

TypeError [ERR_INVALID_ARG_TYPE #37

Open
ubuntupunk opened this issue May 1, 2023 · 0 comments
Open

TypeError [ERR_INVALID_ARG_TYPE #37

ubuntupunk opened this issue May 1, 2023 · 0 comments

Comments

@ubuntupunk
Copy link

> [email protected] clean
[clean           ] > rm -rf dist
[clean           ] 
[styles:dev      ] 
[styles:dev      ] > [email protected] 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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant