v8dotnet icon indicating copy to clipboard operation
v8dotnet copied to clipboard

ICU data files missing?

Open tombatron opened this issue 4 years ago • 1 comments

#
# Fatal error in ../../src/objects/js-number-format.cc, line 358
# Failed to create ICU number_format, are ICU data files missing?
#
#
#
#FailureMessage Object: 0000003C273FBE50
==== C stack trace ===============================

        V8ExecuteCompiledScript [0x00007FFDD4E841EB+19220107]
        V8ExecuteCompiledScript [0x00007FFDD4B9F921+16186817]
        V8ExecuteCompiledScript [0x00007FFDD4B9090F+16125359]
        V8ExecuteCompiledScript [0x00007FFDD44881AF+8750671]
        V8ExecuteCompiledScript [0x00007FFDD4455DDA+8544890]
        V8ExecuteCompiledScript [0x00007FFDD3DDB4D5+1751413]
        V8ExecuteCompiledScript [0x00007FFDD3DDCF9F+1758271]
        V8ExecuteCompiledScript [0x00007FFDD4933EED+13648781]

Encountering the above error when attempting to render a React component.

Any idea what this means?

tombatron avatar Nov 22 '19 17:11 tombatron

Hi, that looks like you are trying to perform some kind of number formatting within JS. Someone else had a similar issue with V8 here:

https://groups.google.com/forum/#!topic/v8-users/4DOD6z57xfU

What you are most likely trying to do requires this: https://v8.dev/docs/i18n - which was included in the V8 DLLs, but it seems V8 does not assume to look for the icudtl.dat file in the current working directory. I'll have to figure out if it can be statically included somehow, or else the file will need to be including with the V8 dlls separetly.

rjamesnw avatar Dec 23 '19 22:12 rjamesnw