Skip to content
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

Uncaught (in promise) TypeError: path.join is not a function #8

Open
futag opened this issue Jul 11, 2022 · 1 comment
Open

Uncaught (in promise) TypeError: path.join is not a function #8

futag opened this issue Jul 11, 2022 · 1 comment

Comments

@futag
Copy link

futag commented Jul 11, 2022

DictionaryLoader.js:51:37

function (callback) {
async.map([ "base.dat.gz", "check.dat.gz" ], function (filename, _callback) {
loadArrayBuffer(path.join(dic_path, filename), function (err, buffer) {
if(err) {
return _callback(err);
}
_callback(null, buffer);
});
}, function (err, buffers) {
if(err) {
return callback(err);
}
var base_buffer = new Int32Array(buffers[0]);
var check_buffer = new Int32Array(buffers[1]);

            dic.loadTrie(base_buffer, check_buffer);
            callback(null);
        });
@phamthephuc
Copy link

do you have any solution for that @yarndinasti

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants