-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
nodehun dependency of spellchecker fails to build with nodejs 10 #304
Comments
Related to nodehun !63. |
This should hopefully be resolved now! |
@ onlyoffice dev team: could you please rebase the patches to your custom repo than? https://github.com/ONLYOFFICE/nodehun thanks :D |
Same thing happens on Ubuntu 18.04.1 LTS, node 10.8.0. I worked around by installing node 8 using |
This still happens, at least, I ran into this weekend. The package.json for this module is pointing at the github repo for nodehun, which is either broken or out of date. When I change it to the current version that node is hosting (2.0.12) it works just fine. Let me know if you guys want a pull req for it. |
Bug still present in DocumentServer version 5.2.0 |
Bug still present in DocumentServer version 5.2.3 since the nodehun module fork here https://github.com/ONLYOFFICE/nodehun wasn't yet updated to version 2.0.12 |
@onny yeap, issue is still actual, since upgrading to latest nodehun is not an easy process for us, because we used fork of nodehun. |
I still get the issue with my Ubuntu 18.04 and the DocumentServer 5.2.3. I'm installed the DocumentServer with nodejs 8, then rebuilding the spellchecker and it's solved. now I get an error about the converter, 'Download failed' when trying to edit the office file. When I check th log, it's about ssl handshake error. SO i just upgrade the nodejs to v10, and it's solved. ps: |
I just checked - you can use nodejs 10 after reinstall of |
I just tried to build the forked nodehun and it seems to fail with the same error. The upstream nodehun build fine.
|
@jasle Try same command with node js v10, since we do not support nodejs v12 currently (we're working on it) |
Thanks for the quick reply! |
@jasle could you try to build using this Dockerfile and compare dependency version |
@ShockwaveNN tried build server 6.1.1 using the Dockerfile tagged with v6.1.17 and got the same error message. I am not really sure which tagged version of the Dockerfile should work with which version of the server, should this versions work together? And thanks again for your awesome support! |
@jasle Try to build it from master, and I think it's better to create new issue in build_tools repo if build from master failing, since this issue is 3 years old and we're completely change our build process |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
DocumentServer fails to build. It stops with an error when trying to build nodehun nodejs dependency for the spellchecker.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
This error occours only when nodejs 10 or higher is installed and used. So to reproduce it, just run: npm install nodehun (or install custom nodehun from the onlyoffice github repo)
What is the expected behavior?
nodehun compilation should pass also with nodejs 10 or higher.
Did this work in previous versions of DocumentServer?
I dont think so
DocumentServer version:
5.1.3
Operating System:
ArchLinux x64
Logs:
Here are the relevant logs from make:
and this is the complete log:
Workaround:
Temporary workaround is downgrading to nodejs 9.X
The text was updated successfully, but these errors were encountered: