Closed RSamaium closed 1 hour ago
The Actions that was running broken after the last update 20min ago:
Cannot find module '/Users/robson.junior/dev/site/node_modules/zod-to-json-schema/dist/esm/parsers/branded' imported from /Users/robson.junior/dev/site/node_modules/zod-to-json-schema/dist/esm/parsers/record.js
Stack trace:
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at defaultResolve (node:internal/modules/esm/resolve:1157:11)
at ModuleLoader.resolve (node:internal/modules/esm/loader:352:25)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:87:39)
Looks like the import statement for branded module in this commit is not correct: https://github.com/StefanTerdell/zod-to-json-schema/commit/ccf1cbf61c415ebb4b8252736979d5632662c208#diff-618e37ffb2ed63e6b03a60dd390c5ce5fb8c6bd8d57572104c5080948c4437f6R12
Missing .js file-extension.
@tobiasgm is correct. Add ".js" after "./branded" in the record.js and it works
Thank you @tobiasgm
Sorry about that lads! Should be fixed in 3.23.5
Hey,
The latest version does not work (3.23.4)
https://stackblitz.com/edit/stackblitz-starters-jhxkjr?file=package.json