Documentserver: Spellchecker nodehun fails to build with nodejs 12.10

Created on 23 Sep 2019  路  3Comments  路  Source: ONLYOFFICE/DocumentServer

Hey,
I'm trying to build the latest stable release, DocumentServer 5.4 using nodejs 12.10.
It fails with building the nodehun module, saying: "error: no matching function for call to 鈥榲8::Value::ToString()" etc.
Here's the complete log https://git.project-insanity.org/snippets/55
Downgrading to Nodejs 10.16 solves the issue.

Best regards,
Jonas

bug fixed

All 3 comments

Hi, can confirm. Same error with such Dockerfile

FROM onlyoffice/documentserver-ie

RUN apt-get -y update && apt-get -y install -y git make g++
RUN curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
RUN sudo apt-get install -y nodejs
RUN rm -rf /var/www/onlyoffice/documentserver/server/SpellChecker/node_modules
RUN cd /var/www/onlyoffice/documentserver/server/SpellChecker/ && npm install

We'll remove dependency of nodejs in future v5.5.0 release
All nodejs services packed to exe files using pkg

DocumentServer v5.5.0 is released. This problem should be fixed.

Was this page helpful?
0 / 5 - 0 ratings