I've been following build instruction but it fails with typescript error:
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at __node_internal_captureLargerStackTrace (node:internal/errors:490:5)
at new NodeError (node:internal/errors:399:5)
at validateString (node:internal/validators:163:11)
at Object.join (node:path:1172:7)
at <anonymous> (/tmp/CC-Tweaked/projects/web/src/htmlTransform/index.tsx:62:33) {
code: 'ERR_INVALID_ARG_TYPE'
}
I've been following build instruction but it fails with typescript error:
File
CC-Tweaked/projects/web/src/htmlTransform/index.tsx
referencesfile.path
which does not exist on my pc: https://github.com/cc-tweaked/CC-Tweaked/blob/550296edc5ab58373aebc0040dea95980be5d2d2/projects/web/src/htmlTransform/index.tsx#L59To confirm this I have ran this command on node(v18.14.0)
This prints "undefined". running it with
file
instead offile.path
prints these entries instead: