-
-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: util2.strToChars is not a function in Typia 6.10.0 with Angular 18 and TypeScript 5.5.4 #1277
Comments
@ryoppippi This problem comes from the rollup configuration. How shoul do? |
@ryoppippi Tried by myself, but failed to escape this problem. I disabled If you know how to escape it, please help me. |
Fix #1277: disable `preserveModules` of `rollup` configuration.
@samchon I cannot find the |
@Karbashevskyi If you create a reproduction repository, it makes life easier |
@ryoppippi Here it is. Such Also, you can test it with previous |
Ok, let me check |
Hmm, in my local build, it is not missing |
Oh, okay. I got it |
Here's the updated bug report with the correct Typia version:
Bug Report
Note that the bug you're reporting may have already been registered in the issues by another user. The bug may also have been fixed in the
@next
version. For that reason, I recommend checking the old issues and reproducing your code with the@next
version before publishing the bug reporting issue.When the same error occurs even in the
@next
version, please fill in the template below:📝 Summary
Encountering
TypeError: util2.strToChars is not a function
when using Typia with Angular 18, TypeScript 5.5.4, and Node.js 20.11.1.util2.strToChars is not a function
.I encountered this issue during runtime after setting up Typia with Angular and TypeScript. The error suggests that a function (
strToChars
) is missing or unavailable in a utility module that Typia relies on.⏯ Playground Link
[No playground link available as the issue is specific to an Angular setup.]
💻 Code Occurring the Bug
Error Trace:
💡 Additional Information
I’ve ensured that all dependencies are up to date and have also attempted reinstalling node modules using
rm -rf node_modules && npm install
. Despite this, the issue persists.This error seems to stem from a missing or deprecated function in one of Typia's dependencies. I was unable to locate
strToChars
in the utility modules involved.Any guidance on resolving this would be appreciated!
Let me know if any further adjustments are needed!
The text was updated successfully, but these errors were encountered: