-
Notifications
You must be signed in to change notification settings - Fork 112
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
Relative paths for dictionary directories [node] #38
Comments
Actually, it might be better to just document that the user should provide an absolute path to |
Agreed on just documenting the path argument as an absolute path. |
Hi, I am trying to use the library and I 'm still getting Error: ENOENT, no such file or directory for the dictionaries path. Giving the absolute path still doesn't work for me. I also saw in your code that Could you please suggest something? |
@Stoup I think it would be best for you to open up a stackoverflow question and post some more details about your code, otherwise it's difficult to help |
I found that if I try to give
Typo
a relative path to my dictionaries in node, it throws an error likeI think that's happening because of this check, which will be relative to
node_module/typo-js/typo.js
I think it can be fixed by something like, which works for me locally.
I can make a PR to update this
The text was updated successfully, but these errors were encountered: