Open yogo1212 opened 1 year ago
the current working directory might not be the directory containing the code. when that is the case, the loading fails. use the __dirname variable from nodejs to search relative to the executing file rather than the working directory of the process.
__dirname
Should fix https://github.com/ashtuchkin/iconv-lite/issues/118
the current working directory might not be the directory containing the code. when that is the case, the loading fails. use the
__dirname
variable from nodejs to search relative to the executing file rather than the working directory of the process.