Do you want to request a feature or report a bug?
Bug
What is the current behavior?
The spellchecker fails to launch
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
What is the expected behavior?
Misspelt words should be highlighted in red and possible suggestions offered on right click.
Did this work in previous versions of DocumentServer?
I haven't used Onlyoffice DocumentServer before, this is the first version I've installed.
DocumentServer version:
5.1.4
Operating System:
Ubuntu Server 18.04 LTS
Browser version:

Error logs from /var/log/onlyoffice/documentserver/spellchecker/
err.log
out.log
Hi @Ke1i, this issue caused by Node.js v8. Unfortunately, it's default version for Ubuntu 18.04.
To repair the spellchecker you have to rebuild its components.
First update npm:
$ sudo npm install -g npm
Next, install develop packages
$ sudo apt-get install build-essential git
Third, move to spellcheker directory:
$ cd /var/www/onlyoffice/documentserver/server/SpellChecker/
Stop documentserver services:
$ sudo supervisorctl stop all
Remove installed spellchecker components
$ sudo mv node_modules/ node_modules_old/
Build and install and spellchecker dependencies
$ sudo npm install
Start documentserver services:
$ sudo supervisorctl start all
Thanks @agolybev. I'll try what you've suggested.
Hey @agolybev.. I tried but I get the error below:
keli@Keli:/$ sudo apt-get install build-essential git
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.4ubuntu1).
git is already the newest version (1:2.17.0-1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
keli@Keli:/$ cd /var/www/onlyoffice/documentserver/server/SpellChecker/
keli@Keli:/var/www/onlyoffice/documentserver/server/SpellChecker$ sudo supervisorctl stop all
onlyoffice-documentserver:gc: stopped
onlyoffice-documentserver:spellchecker: stopped
onlyoffice-documentserver:docservice: stopped
onlyoffice-documentserver:converter: stopped
keli@Keli:/var/www/onlyoffice/documentserver/server/SpellChecker$ sudo mv node_modules/ node_modules_old/
keli@Keli:/var/www/onlyoffice/documentserver/server/SpellChecker$ sudo npm install
npm ERR! code 128
npm ERR! Command failed: /usr/bin/git submodule update -q --init --recursive
npm ERR! error: could not lock config file .git/config: Permission denied
npm ERR! error: could not lock config file .git/config: Permission denied
npm ERR! fatal: Failed to register url for submodule path 'src/hunspell'
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! /home/keli/.npm/_logs/2018-05-28T20_30_41_345Z-debug.log
Error log at /home/keli/.npm/_logs/
Fixed it!
I had to change the ownership of /var/www/onlyoffice/documentserver/server/SpellChecker/ from onlyoffice to keli (user) then run npm install (without sudo)
Spellchecker now works, thanks @agolybev
Here's the output.
sudo chown -R keli:www-data /var/www/onlyoffice/documentserver/server/SpellChecker/
keli@Keli:/var/www/onlyoffice/documentserver/server/SpellChecker$ npm install
> [email protected] install /var/www/onlyoffice/documentserver/server/SpellChecker/node_modules/nodehun
> node-gyp rebuild
make: Entering directory '/var/www/onlyoffice/documentserver/server/SpellChecker/node_modules/nodehun/build'
CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/affentry.o
CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/affixmgr.o
CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/csutil.o
CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/filemgr.o
CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/hashmgr.o
CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/hunspell.o
../src/hunspell/src/hunspell/hunspell.cxx: In member function βbool HunspellImpl::spell(const string&, int*, std::__cxx11::string*)β:
../src/hunspell/src/hunspell/hunspell.cxx:565:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
}
^
../src/hunspell/src/hunspell/hunspell.cxx:567:5: note: here
case INITCAP: {
^~~~
../src/hunspell/src/hunspell/hunspell.cxx: In member function βstd::vector<std::__cxx11::basic_string<char> > HunspellImpl::suggest(const string&)β:
../src/hunspell/src/hunspell/hunspell.cxx:903:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
capwords = 1;
~~~~~~~~~^~~
../src/hunspell/src/hunspell/hunspell.cxx:904:5: note: here
case HUHCAP: {
^~~~
../src/hunspell/src/hunspell/hunspell.cxx:1015:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
capwords = 1;
~~~~~~~~~^~~
../src/hunspell/src/hunspell/hunspell.cxx:1016:7: note: here
case HUHCAP: {
^~~~
CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/hunzip.o
CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/phonet.o
CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/replist.o
CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/suggestmgr.o
AR(target) Release/obj.target/src/hunspell.a
COPY Release/hunspell.a
CXX(target) Release/obj.target/nodehun/src/nodehun.o
../src/nodehun.cpp:5:2: warning: #warning "Nodehun is no longer being actively maintained. Please email [email protected] If you are interested in taking over the project." [-Wcpp]
#warning "Nodehun is no longer being actively maintained. Please email [email protected] If you are interested in taking over the project."
^~~~~~~
In file included from ../src/nodehun.cpp:12:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::createNewNodehunFinish(uv_work_t*, int)β:
../src/post0.12.0/nodehun.cpp:90:38: warning: βv8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) constβ is deprecated: Use maybe version [-Wdeprecated-declarations]
argv[1] = cons->NewInstance(1, &ext);
^
In file included from /home/keli/.node-gyp/8.10.0/include/node/v8.h:26:0,
from /home/keli/.node-gyp/8.10.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:12:
/home/keli/.node-gyp/8.10.0/include/node/v8.h:3847:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/keli/.node-gyp/8.10.0/include/node/v8config.h:318:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:12:0:
../src/post0.12.0/nodehun.cpp: In member function βbool Nodehun::SpellDictionary::spell(const char*)β:
../src/post0.12.0/nodehun.cpp:198:46: warning: βint Hunspell::spell(const char*, int*, char**)β is deprecated [-Wdeprecated-declarations]
bool correct = this->spellClass->spell(word);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:12:
../src/hunspell/src/hunspell/hunspell.hxx:131:20: note: declared here
H_DEPRECATED int spell(const char* word, int* info = NULL, char** root = NULL);
^~~~~
In file included from ../src/nodehun.cpp:12:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::spellSuggestSync(const v8::FunctionCallbackInfo<v8::Value>&)β:
../src/post0.12.0/nodehun.cpp:274:41: warning: βvoid Hunspell::free_list(char***, int)β is deprecated [-Wdeprecated-declarations]
obj->spellClass->free_list(&arr, num);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:12:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
H_DEPRECATED void free_list(char*** slst, int n);
^~~~~~~~~
In file included from ../src/nodehun.cpp:12:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::spellSuggestionsSync(const v8::FunctionCallbackInfo<v8::Value>&)β:
../src/post0.12.0/nodehun.cpp:330:41: warning: βvoid Hunspell::free_list(char***, int)β is deprecated [-Wdeprecated-declarations]
obj->spellClass->free_list(&arr, num);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:12:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
H_DEPRECATED void free_list(char*** slst, int n);
^~~~~~~~~
In file included from ../src/nodehun.cpp:12:0:
../src/post0.12.0/nodehun.cpp: In member function βint Nodehun::SpellDictionary::spellCheck(bool*, char***, const char*)β:
../src/post0.12.0/nodehun.cpp:342:42: warning: βint Hunspell::spell(const char*, int*, char**)β is deprecated [-Wdeprecated-declarations]
*correct = this->spellClass->spell(word);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:12:
../src/hunspell/src/hunspell/hunspell.hxx:131:20: note: declared here
H_DEPRECATED int spell(const char* word, int* info = NULL, char** root = NULL);
^~~~~
In file included from ../src/nodehun.cpp:12:0:
../src/post0.12.0/nodehun.cpp:344:47: warning: βint Hunspell::suggest(char***, const char*)β is deprecated [-Wdeprecated-declarations]
sugg = this->spellClass->suggest(arr, word);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:12:
../src/hunspell/src/hunspell/hunspell.hxx:141:20: note: declared here
H_DEPRECATED int suggest(char*** slst, const char* word);
^~~~~~~
In file included from ../src/nodehun.cpp:12:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::sendSuggestions(uv_work_t*, int)β:
../src/post0.12.0/nodehun.cpp:383:89: warning: βvoid Hunspell::free_list(char***, int)β is deprecated [-Wdeprecated-declarations]
->obj->spellClass->free_list(&(spellData->suggestions), spellData->numSuggest);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:12:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
H_DEPRECATED void free_list(char*** slst, int n);
^~~~~~~~~
In file included from ../src/nodehun.cpp:12:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::stemSync(const v8::FunctionCallbackInfo<v8::Value>&)β:
../src/post0.12.0/nodehun.cpp:632:41: warning: βvoid Hunspell::free_list(char***, int)β is deprecated [-Wdeprecated-declarations]
obj->spellClass->free_list(&arr, num);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:12:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
H_DEPRECATED void free_list(char*** slst, int n);
^~~~~~~~~
In file included from ../src/nodehun.cpp:12:0:
../src/post0.12.0/nodehun.cpp: In member function βint Nodehun::SpellDictionary::stemWord(char***, const char*)β:
../src/post0.12.0/nodehun.cpp:644:45: warning: βint Hunspell::stem(char***, const char*)β is deprecated [-Wdeprecated-declarations]
int res = this->spellClass->stem(arr, word);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:12:
../src/hunspell/src/hunspell/hunspell.hxx:168:20: note: declared here
H_DEPRECATED int stem(char*** slst, const char* word);
^~~~
In file included from ../src/nodehun.cpp:12:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::stemFinish(uv_work_t*, int)β:
../src/post0.12.0/nodehun.cpp:667:79: warning: βvoid Hunspell::free_list(char***, int)β is deprecated [-Wdeprecated-declarations]
stemData->obj->spellClass->free_list(&stemData->results,stemData->numResults);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:12:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
H_DEPRECATED void free_list(char*** slst, int n);
^~~~~~~~~
In file included from ../src/nodehun.cpp:12:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::generateSync(const v8::FunctionCallbackInfo<v8::Value>&)β:
../src/post0.12.0/nodehun.cpp:729:41: warning: βvoid Hunspell::free_list(char***, int)β is deprecated [-Wdeprecated-declarations]
obj->spellClass->free_list(&arr, num);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:12:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
H_DEPRECATED void free_list(char*** slst, int n);
^~~~~~~~~
In file included from ../src/nodehun.cpp:12:0:
../src/post0.12.0/nodehun.cpp: In member function βint Nodehun::SpellDictionary::generateWord(char***, const char*, const char*)β:
../src/post0.12.0/nodehun.cpp:740:56: warning: βint Hunspell::generate(char***, const char*, const char*)β is deprecated [-Wdeprecated-declarations]
int num = this->spellClass->generate(arr, word, word2);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:12:
../src/hunspell/src/hunspell/hunspell.hxx:181:20: note: declared here
H_DEPRECATED int generate(char*** slst, const char* word, const char* word2);
^~~~~~~~
In file included from ../src/nodehun.cpp:12:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::generateFinish(uv_work_t*, int)β:
../src/post0.12.0/nodehun.cpp:763:91: warning: βvoid Hunspell::free_list(char***, int)β is deprecated [-Wdeprecated-declarations]
a->obj->spellClass->free_list(&generateData->results,generateData->numResults);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:12:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
H_DEPRECATED void free_list(char*** slst, int n);
^~~~~~~~~
In file included from ../src/nodehun.cpp:12:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::analyzeSync(const v8::FunctionCallbackInfo<v8::Value>&)β:
../src/post0.12.0/nodehun.cpp:815:41: warning: βvoid Hunspell::free_list(char***, int)β is deprecated [-Wdeprecated-declarations]
obj->spellClass->free_list(&arr, num);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:12:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
H_DEPRECATED void free_list(char*** slst, int n);
^~~~~~~~~
In file included from ../src/nodehun.cpp:12:0:
../src/post0.12.0/nodehun.cpp: In member function βint Nodehun::SpellDictionary::analyzeWord(char***, const char*)β:
../src/post0.12.0/nodehun.cpp:827:48: warning: βint Hunspell::analyze(char***, const char*)β is deprecated [-Wdeprecated-declarations]
int num = this->spellClass->analyze(arr, word);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:12:
../src/hunspell/src/hunspell/hunspell.hxx:164:20: note: declared here
H_DEPRECATED int analyze(char*** slst, const char* word);
^~~~~~~
In file included from ../src/nodehun.cpp:12:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::analyzeFinish(uv_work_t*, int)β:
../src/post0.12.0/nodehun.cpp:850:88: warning: βvoid Hunspell::free_list(char***, int)β is deprecated [-Wdeprecated-declarations]
ata->obj->spellClass->free_list(&analyzeData->results,analyzeData->numResults);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:12:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
H_DEPRECATED void free_list(char*** slst, int n);
^~~~~~~~~
SOLINK_MODULE(target) Release/obj.target/nodehun.node
COPY Release/nodehun.node
make: Leaving directory '/var/www/onlyoffice/documentserver/server/SpellChecker/node_modules/nodehun/build'
npm notice created a lockfile as package-lock.json. You should commit this file.
added 61 packages from 70 contributors and audited 130 packages in 122.129s
found 0 vulnerabilities
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β npm update check failed β
β Try running with sudo or get access β
β to the local update config store via β
β sudo chown -R $USER:$(id -gn $USER) /home/keli/.config β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ

Hi @Ke1i , thank you for your patience!
Still not working for me. On Ubuntu 18.04 spellchecking remains greyed out even after following the procedure. I downgraded Node.js and it still doesn't work.
@alex2003super see logs for errors at /var/log/onlyoffice/documentserver/spellchecker/
@ShockwaveNN There were no errors. I discovered that npm handles my node package, on a different version than nodejs, the one used by ONLYOFFICE. I removed /usr/local/bin/node and replaced it with a symlink to /usr/local/bin/nodejs . I then updated my node (which for some strange reason still remained on a different version than that of nodejs) to 8 and node to the same version. Apparently nvm manages node version and n manages nodejs (strange). I rebuilt the spellchecker and to my great surprise it now works (?). Fiddly..
Hi @Ke1i, this issue caused by Node.js v8. Unfortunately, it's default version for Ubuntu 18.04.
To repair the spellchecker you have to rebuild its components.
First update npm:$ sudo npm install -g npmNext, install develop packages
$ sudo apt-get install build-essential gitThird, move to spellcheker directory:
$ cd /var/www/onlyoffice/documentserver/server/SpellChecker/Stop documentserver services:
$ sudo supervisorctl stop allRemove installed spellchecker components
$ sudo mv node_modules/ node_modules_old/Build and install and spellchecker dependencies
$ sudo npm installStart documentserver services:
$ sudo supervisorctl start all
This procedure is fine, but it must be exeute as root (su root), not sudo su. It is because npm uses your original user id to work.
So if you execute all after sudo su then will crash. If you make first su root and then procedure (without sudo command) thenwill be fine.
Thanks @khayman123 , I guess I should close this then.
@Ke1i sorry, no, we will close this issue then we release DocumentServer with support of Nodejs 8 out the box
Okay @ShockwaveNN, no problem.
Can't npm rebuild be run as a postinst script in the Debian packaging?
@strugee as far as I remember adding npm rebuild will cause adding some more build dependencies to deb package and we don't want it
@ShockwaveNN it will require build-essential to be a dependency. But frankly the existing instructions telling the user to run npm install require build-essential too, it's just not marked in the package.
The real solution to this is to provide different packages for different distribution/Node version combinations. But until that happens, this hack will at least remove a step from the install process.
I get the error below:
buntu@VM-4-6-ubuntu:/var/www/onlyoffice/documentserver/server/SpellChecker$ sudo npm install
nodehun@git+https://[email protected]/ONLYOFFICE/nodehun.git#c9ba32e5ff117ecc51e8e119c0753a021e519113 install /var/www/onlyoffice/documentserver/server/SpellChecker/node_modules/nodehun
node-gyp rebuild
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/var/www/onlyoffice/documentserver/server/SpellChecker/node_modules/nodehun/build'
gyp ERR! System Linux 4.4.0-130-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/onlyoffice/documentserver/server/SpellChecker/node_modules/nodehun
gyp ERR! node -v v10.15.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! nodehun@git+https://[email protected]/ONLYOFFICE/nodehun.git#c9ba32e5ff117ecc51e8e119c0753a021e519113 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the nodehun@git+https://[email protected]/ONLYOFFICE/nodehun.git#c9ba32e5ff117ecc51e8e119c0753a021e519113 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ubuntu/.npm/_logs/2019-05-17T08_34_50_146Z-debug.log
ubuntu@VM-4-6-ubuntu:/var/www/onlyoffice/documentserver/server/SpellChe
see logs for errors at
/var/log/onlyoffice/documentserver/spellchecker/
see logs for errors at /var/log/onlyoffice/documentserver/spellchecker/err.log
Error: The module '/var/www/onlyoffice/documentserver/server/SpellChecker/node_modules/nodehun/build/Release/nodehun.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 57. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
at Object.Module._extensions..node (internal/modules/cjs/loader.js:730:18)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.<anonymous> (/var/www/onlyoffice/documentserver/server/SpellChecker/sources/spellCheck.js:13:17)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
internal/modules/cjs/loader.js:730
return process.dlopen(module, path.toNamespacedPath(filename));
@ShockwaveNN please help me
@18309293349 seem you have permission errors, check permissions on /var/www/onlyoffice/documentserver/server/SpellChecker/node_modules/nodehun folder
@ShockwaveNN After executing sudo npm install, there is no nodehun under the node_module directory
@18309293349 This because npm install failed, this is permission problem with your files
running 'sudo su' before doing the 'sudo npm install' worked for me after previous errors (then 'exit' to return to my user).
Also 'sudo apt get install nodejs' earlier in the process was needed.
I was following this: https://helpcenter.onlyoffice.com/server/linux/document/linux-installation.aspx It might need updating with the above changes.
If running as root, npm drops privileges before running postinstall scripts, including native module rebuilds. This unfortunately interacts poorly with git dependencies (and maybe others? I'm not sure) which is what you're running into here with the permission problems.
Im facing the same problems, with onlyoffice 5.4.1 and ubuntu 18.04.... Followed the instructions in
https://github.com/ONLYOFFICE/DocumentServer/issues/312#issuecomment-392479211
make: *** [Release/obj.target/nodehun/src/nodehun.o] Error 1
make: se sale del directorio '/var/www/onlyoffice/documentserver/server/SpellChecker/node_modules/nodehun/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:210:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.15.0-66-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/onlyoffice/documentserver/server/SpellChecker/node_modules/nodehun
gyp ERR! node -v v12.13.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! nodehun@git+https://[email protected]/ONLYOFFICE/nodehun.git#c9ba32e5ff117ecc51e8e119c0753a021e519113 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the nodehun@git+https://[email protected]/ONLYOFFICE/nodehun.git#c9ba32e5ff117ecc51e8e119c0753a021e519113 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/eduardo/.npm/_logs/2019-11-12T18_53_13_612Z-debug.log
Any ideas ??
@ejgutierrez74 please provide a more complete log, and make sure to use code formatting. As it is you've cut the most important parts out.
Sorry it was too long but here it si the full log:
`eduardo@eduardo-VirtualBox:/var/www/onlyoffice/documentserver/server/SpellChecker$ sudo npm install
nodehun@git+https://[email protected]/ONLYOFFICE/nodehun.git#c9ba32e5ff117ecc51e8e119c0753a021e519113 install /var/www/onlyoffice/documentserver/server/SpellChecker/node_modules/nodehun
node-gyp rebuild
make: se entra en el directorio '/var/www/onlyoffice/documentserver/server/SpellChecker/node_modules/nodehun/build'
CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/affentry.o
CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/affixmgr.o
CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/csutil.o
CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/filemgr.o
CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/hashmgr.o
CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/hunspell.o
CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/hunzip.o
CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/phonet.o
CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/replist.o
CXX(target) Release/obj.target/hunspell/src/hunspell/src/hunspell/suggestmgr.o
AR(target) Release/obj.target/src/hunspell.a
COPY Release/hunspell.a
CXX(target) Release/obj.target/nodehun/src/nodehun.o
In file included from ../src/post0.12.0/nodehun.cpp:1:0,
from ../src/nodehun.cpp:7:
../src/post0.12.0/nodehun.hpp:131:24: error: βv8::Handleβ has not been declared
static void Init(v8::Handle<v8::Object>, v8::Handle<v8::Object>);
^~~~~~
../src/post0.12.0/nodehun.hpp:131:30: error: expected β,β or β...β before β<β token
static void Init(v8::Handle<v8::Object>, v8::Handle<v8::Object>);
^
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:7:37: error: variable or field βInitβ declared void
void Nodehun::SpellDictionary::Init(Handle<Object> exports, Handle<Object> module)
^~~~~~
../src/post0.12.0/nodehun.cpp:7:37: error: βHandleβ was not declared in this scope
../src/post0.12.0/nodehun.cpp:7:37: note: suggested alternative: βrand_rβ
void Nodehun::SpellDictionary::Init(Handle<Object> exports, Handle<Object> module)
^~~~~~
rand_r
../src/post0.12.0/nodehun.cpp:7:50: error: expected primary-expression before β>β token
void Nodehun::SpellDictionary::Init(Handle<Object> exports, Handle<Object> module)
^
../src/post0.12.0/nodehun.cpp:7:52: error: βexportsβ was not declared in this scope
void Nodehun::SpellDictionary::Init(Handle<Object> exports, Handle<Object> module)
^~~~~~~
../src/post0.12.0/nodehun.cpp:7:61: error: βHandleβ was not declared in this scope
void Nodehun::SpellDictionary::Init(Handle<Object> exports, Handle<Object> module)
^~~~~~
../src/post0.12.0/nodehun.cpp:7:61: note: suggested alternative: βrand_rβ
void Nodehun::SpellDictionary::Init(Handle<Object> exports, Handle<Object> module)
^~~~~~
rand_r
../src/post0.12.0/nodehun.cpp:7:74: error: expected primary-expression before β>β token
d Nodehun::SpellDictionary::Init(Handle<Object> exports, Handle<Object> module)
^
../src/post0.12.0/nodehun.cpp:7:76: error: βmoduleβ was not declared in this scope
d Nodehun::SpellDictionary::Init(Handle<Object> exports, Handle<Object> module)
^~~~~~
../src/post0.12.0/nodehun.cpp:7:76: note: suggested alternative: βmode_tβ
d Nodehun::SpellDictionary::Init(Handle<Object> exports, Handle<Object> module)
^~~~~~
mode_t
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::createNewNodehun(const v8::FunctionCallbackInfo<v8::Value>&)β:
../src/post0.12.0/nodehun.cpp:51:100: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
on::TypeError(String::NewFromUtf8(isolate, "First argument must be a string"));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:52:72: error: no matching function for call to βv8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])β
callback->Call(isolate->GetCurrentContext()->Global(), argc, argv);
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
^~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:55:101: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
n::TypeError(String::NewFromUtf8(isolate, "Second argument must be a string"));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:56:72: error: no matching function for call to βv8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])β
callback->Call(isolate->GetCurrentContext()->Global(), argc, argv);
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
^~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:62:45: error: no matching function for call to βv8::Value::ToString()β
String::Utf8Value arg0(args[0]->ToString());
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate expects 1 argument, 0 provided
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:63:48: error: no matching function for call to βv8::Value::ToString()β
String::Utf8Value arg1(args[1]->ToString());
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate expects 1 argument, 0 provided
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::createNewNodehunFinish(uv_work_t*, int)β:
../src/post0.12.0/nodehun.cpp:87:3: error: βHandleβ was not declared in this scope
Handle<Value> ext = External::New(isolate, nodeData->obj);
^~~~~~
../src/post0.12.0/nodehun.cpp:87:3: note: suggested alternative: βhandleβ
Handle<Value> ext = External::New(isolate, nodeData->obj);
^~~~~~
handle
../src/post0.12.0/nodehun.cpp:87:15: error: expected primary-expression before β>β token
Handle<Value> ext = External::New(isolate, nodeData->obj);
^
../src/post0.12.0/nodehun.cpp:87:17: error: βextβ was not declared in this scope
Handle<Value> ext = External::New(isolate, nodeData->obj);
^~~
../src/post0.12.0/nodehun.cpp:87:17: note: suggested alternative: βexitβ
Handle<Value> ext = External::New(isolate, nodeData->obj);
^~~
exit
../src/post0.12.0/nodehun.cpp:92:62: error: no matching function for call to βv8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])β
cb->Call(isolate->GetCurrentContext()->Global(), argc, argv);
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
^~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::New(const v8::FunctionCallbackInfo<v8::Value>&)β:
../src/post0.12.0/nodehun.cpp:114:135: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
mUtf8(isolate, "Use the new operator to create an instance of this object.")));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:126:114: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
n::Error(String::NewFromUtf8(isolate, "Constructor requires two arguments.")));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:130:114: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
n::TypeError(String::NewFromUtf8(isolate, "First argument must be a string")));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:134:115: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
::TypeError(String::NewFromUtf8(isolate, "Second argument must be a string")));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:138:46: error: no matching function for call to βv8::Value::ToString()β
String::Utf8Value arg0(args[0]->ToString());
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate expects 1 argument, 0 provided
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:139:43: error: no matching function for call to βv8::Value::ToString()β
String::Utf8Value arg1(args[1]->ToString());
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate expects 1 argument, 0 provided
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::isCorrect(const v8::FunctionCallbackInfo<v8::Value>&)β:
../src/post0.12.0/nodehun.cpp:159:100: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
on::TypeError(String::NewFromUtf8(isolate, "First argument must be a string"));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:160:72: error: no matching function for call to βv8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [3])β
callback->Call(isolate->GetCurrentContext()->Global(), argc, argv);
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
^~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:165:48: error: no matching function for call to βv8::Value::ToString()β
String::Utf8Value arg0(args[0]->ToString());
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate expects 1 argument, 0 provided
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::isCorrectSync(const v8::FunctionCallbackInfo<v8::Value>&)β:
../src/post0.12.0/nodehun.cpp:186:48: error: no matching function for call to βv8::Value::ToString()β
String::Utf8Value arg0(args[0]->ToString());
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate expects 1 argument, 0 provided
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:191:113: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
::TypeError(String::NewFromUtf8(isolate, "First argument must be a string.")));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In member function βbool Nodehun::SpellDictionary::spell(const char*)β:
../src/post0.12.0/nodehun.cpp:198:46: warning: βint Hunspell::spell(const char*, int*, char**)β is deprecated [-Wdeprecated-declarations]
bool correct = this->spellClass->spell(word);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:131:20: note: declared here
H_DEPRECATED int spell(const char* word, int* info = NULL, char** root = NULL);
^~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::sendCorrect(uv_work_t*, int)β:
../src/post0.12.0/nodehun.cpp:219:91: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
cal<Value>::New(isolate, String::NewFromUtf8(isolate, corrData->word.c_str()));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:221:62: error: no matching function for call to βv8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [3])β
cb->Call(isolate->GetCurrentContext()->Global(), argc, argv);
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
^~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::spellSuggest(const v8::FunctionCallbackInfo<v8::Value>&)β:
../src/post0.12.0/nodehun.cpp:239:100: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
on::TypeError(String::NewFromUtf8(isolate, "First argument must be a string"));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:240:72: error: no matching function for call to βv8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [3])β
callback->Call(isolate->GetCurrentContext()->Global(), argc, argv);
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
^~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:245:48: error: no matching function for call to βv8::Value::ToString()β
String::Utf8Value arg0(args[0]->ToString());
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate expects 1 argument, 0 provided
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::spellSuggestSync(const v8::FunctionCallbackInfo<v8::Value>&)β:
../src/post0.12.0/nodehun.cpp:266:46: error: no matching function for call to βv8::Value::ToString()β
String::Utf8Value arg0(args[0]->ToString());
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate expects 1 argument, 0 provided
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:271:95: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
nValue().Set(Local<Value>::New(isolate, String::NewFromUtf8(isolate, arr[0])));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:274:41: warning: βvoid Hunspell::free_list(char***, int)β is deprecated [-Wdeprecated-declarations]
obj->spellClass->free_list(&arr, num);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
H_DEPRECATED void free_list(char*** slst, int n);
^~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:278:113: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
::TypeError(String::NewFromUtf8(isolate, "First argument must be a string.")));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::spellSuggestions(const v8::FunctionCallbackInfo<v8::Value>&)β:
../src/post0.12.0/nodehun.cpp:295:100: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
on::TypeError(String::NewFromUtf8(isolate, "First argument must be a string"));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:296:72: error: no matching function for call to βv8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [3])β
callback->Call(isolate->GetCurrentContext()->Global(), argc, argv);
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
^~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:301:48: error: no matching function for call to βv8::Value::ToString()β
String::Utf8Value arg0(args[0]->ToString());
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate expects 1 argument, 0 provided
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::spellSuggestionsSync(const v8::FunctionCallbackInfo<v8::Value>&)β:
../src/post0.12.0/nodehun.cpp:322:46: error: no matching function for call to βv8::Value::ToString()β
String::Utf8Value arg0(args[0]->ToString());
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate expects 1 argument, 0 provided
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:328:52: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
a->Set(i, String::NewFromUtf8(isolate, arr[i]));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:328:53: warning: βbool v8::Object::Set(uint32_t, v8::Local<v8::Value>)β is deprecated: Use maybe version [-Wdeprecated-declarations]
a->Set(i, String::NewFromUtf8(isolate, arr[i]));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:3412:22: note: declared here
bool Set(uint32_t index, Local<Value> value));
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:330:41: warning: βvoid Hunspell::free_list(char***, int)β is deprecated [-Wdeprecated-declarations]
obj->spellClass->free_list(&arr, num);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
H_DEPRECATED void free_list(char*** slst, int n);
^~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:334:113: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
::TypeError(String::NewFromUtf8(isolate, "First argument must be a string.")));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In member function βint Nodehun::SpellDictionary::spellCheck(bool*, char***, const char*)β:
../src/post0.12.0/nodehun.cpp:342:42: warning: βint Hunspell::spell(const char*, int*, char**)β is deprecated [-Wdeprecated-declarations]
*correct = this->spellClass->spell(word);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:131:20: note: declared here
H_DEPRECATED int spell(const char* word, int* info = NULL, char** root = NULL);
^~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:344:47: warning: βint Hunspell::suggest(char***, const char*)β is deprecated [-Wdeprecated-declarations]
sugg = this->spellClass->suggest(arr, word);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:141:20: note: declared here
H_DEPRECATED int suggest(char*** slst, const char* word);
^~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::sendSuggestions(uv_work_t*, int)β:
../src/post0.12.0/nodehun.cpp:365:92: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
al<Value>::New(isolate, String::NewFromUtf8(isolate, spellData->word.c_str()));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:376:71: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
suglist->Set(t,String::NewFromUtf8(isolate, spellData->suggestions[t]));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:376:72: warning: βbool v8::Object::Set(uint32_t, v8::Local<v8::Value>)β is deprecated: Use maybe version [-Wdeprecated-declarations]
suglist->Set(t,String::NewFromUtf8(isolate, spellData->suggestions[t]));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:3412:22: note: declared here
bool Set(uint32_t index, Local<Value> value));
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:380:71: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
argv[2] = String::NewFromUtf8(isolate, spellData->suggestions[0]);
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:383:89: warning: βvoid Hunspell::free_list(char***, int)β is deprecated [-Wdeprecated-declarations]
->obj->spellClass->free_list(&(spellData->suggestions), spellData->numSuggest);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
H_DEPRECATED void free_list(char*** slst, int n);
^~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:385:62: error: no matching function for call to βv8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [4])β
cb->Call(isolate->GetCurrentContext()->Global(), argc, argv);
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
^~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::addDictionary(const v8::FunctionCallbackInfo<v8::Value>&)β:
../src/post0.12.0/nodehun.cpp:404:95: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
on::TypeError(String::NewFromUtf8(isolate, "First argument must be a string"));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:405:67: error: no matching function for call to βv8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [1])β
callback->Call(isolate->GetCurrentContext()->Global(), argc, argv);
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
^~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:415:114: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
n::TypeError(String::NewFromUtf8(isolate, "First argument must be a string")));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:418:43: error: no matching function for call to βv8::Value::ToString()β
String::Utf8Value arg0(args[0]->ToString());
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate expects 1 argument, 0 provided
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::addDictionarySync(const v8::FunctionCallbackInfo<v8::Value>&)β:
../src/post0.12.0/nodehun.cpp:440:113: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
::TypeError(String::NewFromUtf8(isolate, "First argument must be a buffer.")));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::addDictionaryFinish(uv_work_t*, int)β:
../src/post0.12.0/nodehun.cpp:468:226: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
dding the dictionary to the nodehun class, because the buffer was deformed."));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:470:64: error: no matching function for call to βv8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [1])β
cb->Call(isolate->GetCurrentContext()->Global(), argc, argv);
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
^~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::addRemoveWordInit(const v8::FunctionCallbackInfo<v8::Value>&, bool)β:
../src/post0.12.0/nodehun.cpp:503:46: error: no matching function for call to βv8::Value::ToString()β
String::Utf8Value arg0(args[0]->ToString());
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate expects 1 argument, 0 provided
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:511:95: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
on::TypeError(String::NewFromUtf8(isolate, "First argument must be a string"));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:513:67: error: no matching function for call to βv8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])β
callback->Call(isolate->GetCurrentContext()->Global(), argc, argv);
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
^~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:523:115: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
::TypeError(String::NewFromUtf8(isolate, "First argument must be a string.")));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::addRemoveWordInitSync(const v8::FunctionCallbackInfo<v8::Value>&, bool)β:
../src/post0.12.0/nodehun.cpp:544:46: error: no matching function for call to βv8::Value::ToString()β
String::Utf8Value arg0(args[0]->ToString());
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate expects 1 argument, 0 provided
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:549:113: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
::TypeError(String::NewFromUtf8(isolate, "First argument must be a string.")));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::addRemoveWordFinish(uv_work_t*, int)β:
../src/post0.12.0/nodehun.cpp:580:244: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
of the word. The dictionary may be corrupted, or the word may be malfored."));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:581:113: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
e>::New(isolate, String::NewFromUtf8(isolate, wordData->word.c_str())) : Local<Value>::New(isolate, Null(isolate));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:583:64: error: no matching function for call to βv8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])β
cb->Call(isolate->GetCurrentContext()->Global(), argc, argv);
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
^~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::stem(const v8::FunctionCallbackInfo<v8::Value>&)β:
../src/post0.12.0/nodehun.cpp:599:100: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
on::TypeError(String::NewFromUtf8(isolate, "First argument must be a string"));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:601:72: error: no matching function for call to βv8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])β
callback->Call(isolate->GetCurrentContext()->Global(), argc, argv);
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
^~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:606:52: error: no matching function for call to βv8::Value::ToString()β
v8::String::Utf8Value arg0(args[0]->ToString());
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate expects 1 argument, 0 provided
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::stemSync(const v8::FunctionCallbackInfo<v8::Value>&)β:
../src/post0.12.0/nodehun.cpp:625:50: error: no matching function for call to βv8::Value::ToString()β
v8::String::Utf8Value arg0(args[0]->ToString());
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate expects 1 argument, 0 provided
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:630:52: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
a->Set(i, String::NewFromUtf8(isolate, arr[i]));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:630:53: warning: βbool v8::Object::Set(uint32_t, v8::Local<v8::Value>)β is deprecated: Use maybe version [-Wdeprecated-declarations]
a->Set(i, String::NewFromUtf8(isolate, arr[i]));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:3412:22: note: declared here
bool Set(uint32_t index, Local<Value> value));
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:632:41: warning: βvoid Hunspell::free_list(char***, int)β is deprecated [-Wdeprecated-declarations]
obj->spellClass->free_list(&arr, num);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
H_DEPRECATED void free_list(char*** slst, int n);
^~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:636:113: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
::TypeError(String::NewFromUtf8(isolate, "First argument must be a string.")));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In member function βint Nodehun::SpellDictionary::stemWord(char***, const char*)β:
../src/post0.12.0/nodehun.cpp:644:45: warning: βint Hunspell::stem(char***, const char*)β is deprecated [-Wdeprecated-declarations]
int res = this->spellClass->stem(arr, word);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:168:20: note: declared here
H_DEPRECATED int stem(char*** slst, const char* word);
^~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::stemFinish(uv_work_t*, int)β:
../src/post0.12.0/nodehun.cpp:666:69: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
suglist->Set(t,String::NewFromUtf8(isolate, stemData->results[t]));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:666:70: warning: βbool v8::Object::Set(uint32_t, v8::Local<v8::Value>)β is deprecated: Use maybe version [-Wdeprecated-declarations]
suglist->Set(t,String::NewFromUtf8(isolate, stemData->results[t]));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:3412:22: note: declared here
bool Set(uint32_t index, Local<Value> value));
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:667:79: warning: βvoid Hunspell::free_list(char***, int)β is deprecated [-Wdeprecated-declarations]
stemData->obj->spellClass->free_list(&stemData->results,stemData->numResults);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
H_DEPRECATED void free_list(char*** slst, int n);
^~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:671:62: error: no matching function for call to βv8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])β
cb->Call(isolate->GetCurrentContext()->Global(), argc, argv);
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
^~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::generate(const v8::FunctionCallbackInfo<v8::Value>&)β:
../src/post0.12.0/nodehun.cpp:686:100: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
on::TypeError(String::NewFromUtf8(isolate, "First argument must be a string"));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:688:72: error: no matching function for call to βv8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])β
callback->Call(isolate->GetCurrentContext()->Global(), argc, argv);
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
^~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:693:101: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
n::TypeError(String::NewFromUtf8(isolate, "Second argument must be a string"));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:695:72: error: no matching function for call to βv8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])β
callback->Call(isolate->GetCurrentContext()->Global(), argc, argv);
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
^~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:700:52: error: no matching function for call to βv8::Value::ToString()β
v8::String::Utf8Value arg0(args[0]->ToString());
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate expects 1 argument, 0 provided
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:701:52: error: no matching function for call to βv8::Value::ToString()β
v8::String::Utf8Value arg1(args[1]->ToString());
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate expects 1 argument, 0 provided
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::generateSync(const v8::FunctionCallbackInfo<v8::Value>&)β:
../src/post0.12.0/nodehun.cpp:721:50: error: no matching function for call to βv8::Value::ToString()β
v8::String::Utf8Value arg0(args[0]->ToString());
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate expects 1 argument, 0 provided
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:722:50: error: no matching function for call to βv8::Value::ToString()β
v8::String::Utf8Value arg1(args[1]->ToString());
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate expects 1 argument, 0 provided
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:727:52: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
a->Set(i, String::NewFromUtf8(isolate, arr[i]));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:727:53: warning: βbool v8::Object::Set(uint32_t, v8::Local<v8::Value>)β is deprecated: Use maybe version [-Wdeprecated-declarations]
a->Set(i, String::NewFromUtf8(isolate, arr[i]));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:3412:22: note: declared here
bool Set(uint32_t index, Local<Value> value));
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:729:41: warning: βvoid Hunspell::free_list(char***, int)β is deprecated [-Wdeprecated-declarations]
obj->spellClass->free_list(&arr, num);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
H_DEPRECATED void free_list(char*** slst, int n);
^~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:733:125: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
String::NewFromUtf8(isolate, "First and second arguments must be a string.")));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In member function βint Nodehun::SpellDictionary::generateWord(char***, const char*, const char*)β:
../src/post0.12.0/nodehun.cpp:740:56: warning: βint Hunspell::generate(char***, const char*, const char*)β is deprecated [-Wdeprecated-declarations]
int num = this->spellClass->generate(arr, word, word2);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:181:20: note: declared here
H_DEPRECATED int generate(char*** slst, const char* word, const char* word2);
^~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::generateFinish(uv_work_t*, int)β:
../src/post0.12.0/nodehun.cpp:762:73: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
suglist->Set(t,String::NewFromUtf8(isolate, generateData->results[t]));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:762:74: warning: βbool v8::Object::Set(uint32_t, v8::Local<v8::Value>)β is deprecated: Use maybe version [-Wdeprecated-declarations]
suglist->Set(t,String::NewFromUtf8(isolate, generateData->results[t]));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:3412:22: note: declared here
bool Set(uint32_t index, Local<Value> value));
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:763:91: warning: βvoid Hunspell::free_list(char***, int)β is deprecated [-Wdeprecated-declarations]
a->obj->spellClass->free_list(&generateData->results,generateData->numResults);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
H_DEPRECATED void free_list(char*** slst, int n);
^~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:767:62: error: no matching function for call to βv8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])β
cb->Call(isolate->GetCurrentContext()->Global(), argc, argv);
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
^~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::analyze(const v8::FunctionCallbackInfo<v8::Value>&)β:
../src/post0.12.0/nodehun.cpp:782:100: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
on::TypeError(String::NewFromUtf8(isolate, "First argument must be a string"));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:784:72: error: no matching function for call to βv8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])β
callback->Call(isolate->GetCurrentContext()->Global(), argc, argv);
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
^~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:789:52: error: no matching function for call to βv8::Value::ToString()β
v8::String::Utf8Value arg0(args[0]->ToString());
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate expects 1 argument, 0 provided
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::analyzeSync(const v8::FunctionCallbackInfo<v8::Value>&)β:
../src/post0.12.0/nodehun.cpp:808:50: error: no matching function for call to βv8::Value::ToString()β
v8::String::Utf8Value arg0(args[0]->ToString());
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate expects 1 argument, 0 provided
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:813:52: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
a->Set(i, String::NewFromUtf8(isolate, arr[i]));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:813:53: warning: βbool v8::Object::Set(uint32_t, v8::Local<v8::Value>)β is deprecated: Use maybe version [-Wdeprecated-declarations]
a->Set(i, String::NewFromUtf8(isolate, arr[i]));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:3412:22: note: declared here
bool Set(uint32_t index, Local<Value> value));
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:815:41: warning: βvoid Hunspell::free_list(char***, int)β is deprecated [-Wdeprecated-declarations]
obj->spellClass->free_list(&arr, num);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
H_DEPRECATED void free_list(char*** slst, int n);
^~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:819:113: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
::TypeError(String::NewFromUtf8(isolate, "First argument must be a string.")));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In member function βint Nodehun::SpellDictionary::analyzeWord(char***, const char*)β:
../src/post0.12.0/nodehun.cpp:827:48: warning: βint Hunspell::analyze(char***, const char*)β is deprecated [-Wdeprecated-declarations]
int num = this->spellClass->analyze(arr, word);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:164:20: note: declared here
H_DEPRECATED int analyze(char*** slst, const char* word);
^~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function βstatic void Nodehun::SpellDictionary::analyzeFinish(uv_work_t*, int)β:
../src/post0.12.0/nodehun.cpp:849:72: warning: βstatic v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)β is deprecated: Use maybe version [-Wdeprecated-declarations]
suglist->Set(t,String::NewFromUtf8(isolate, analyzeData->results[t]));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:849:73: warning: βbool v8::Object::Set(uint32_t, v8::Local<v8::Value>)β is deprecated: Use maybe version [-Wdeprecated-declarations]
suglist->Set(t,String::NewFromUtf8(isolate, analyzeData->results[t]));
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:25,
from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:3412:22: note: declared here
bool Set(uint32_t index, Local<Value> value));
^
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro βV8_DEPRECATEDβ
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:850:88: warning: βvoid Hunspell::free_list(char***, int)β is deprecated [-Wdeprecated-declarations]
ata->obj->spellClass->free_list(&analyzeData->results,analyzeData->numResults);
^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
H_DEPRECATED void free_list(char*** slst, int n);
^~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:854:62: error: no matching function for call to βv8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])β
cb->Call(isolate->GetCurrentContext()->Global(), argc, argv);
^
In file included from /home/eduardo/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../src/post0.12.0/nodehun.hpp:5,
from ../src/post0.12.0/nodehun.cpp:1,
from ../src/nodehun.cpp:7:
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
^~~~
/home/eduardo/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate expects 4 arguments, 3 provided
nodehun.target.mk:116: recipe for target 'Release/obj.target/nodehun/src/nodehun.o' failed
make: *** [Release/obj.target/nodehun/src/nodehun.o] Error 1
make: se sale del directorio '/var/www/onlyoffice/documentserver/server/SpellChecker/node_modules/nodehun/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:210:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.15.0-66-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/onlyoffice/documentserver/server/SpellChecker/node_modules/nodehun
gyp ERR! node -v v12.13.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! nodehun@git+https://[email protected]/ONLYOFFICE/nodehun.git#c9ba32e5ff117ecc51e8e119c0753a021e519113 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the nodehun@git+https://[email protected]/ONLYOFFICE/nodehun.git#c9ba32e5ff117ecc51e8e119c0753a021e519113 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/eduardo/.npm/_logs/2019-11-14T19_15_11_152Z-debug.log
`
If you need anything else just let me know....
Thanks
Please note that issue related with node 12 is here https://github.com/ONLYOFFICE/DocumentServer/issues/652
Is it going to be fixed in a near future ?
Thanks
The problem in nodjs version in Ubuntu 18, by default the nodejs is set version 13.
For DocumentServer need nodejs 8, SystemRequirements.
Try it
sudo supervisorctl stop all
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.35.1/install.sh | bash
source /etc/profile
nvm install 8.16.2
cd /var/www/onlyoffice/documentserver/server/SpellChecker
mv node_modules/ node_modules_old/
npm install
supervisorctl start all
It didnt work:
eduardo@eduardo-VirtualBox:/var/www/onlyoffice/documentserver/server/SpellChecker$ npm install
npm WARN checkPermissions Missing write access to /var/www/onlyoffice/documentserver/server/SpellChecker/node_modules
npm ERR! path /var/www/onlyoffice/documentserver/server/SpellChecker/node_modules
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/var/www/onlyoffice/documentserver/server/SpellChecker/node_modules'
npm ERR! { Error: EACCES: permission denied, access '/var/www/onlyoffice/documentserver/server/SpellChecker/node_modules'
npm ERR! stack: 'Error: EACCES: permission denied, access \'/var/www/onlyoffice/documentserver/server/SpellChecker/node_modules\'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/var/www/onlyoffice/documentserver/server/SpellChecker/node_modules' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
npm ERR! A complete log of this run can be found in:
npm ERR! /home/eduardo/.npm/_logs/2019-12-11T20_10_01_597Z-debug.log
eduardo@eduardo-VirtualBox:/var/www/onlyoffice/documentserver/server/SpellChecker$ cat /home/eduardo/.npm/_logs/2019-12-11T20_06_50_050Z-debug.log
cat: /home/eduardo/.npm/_logs/2019-12-11T20_06_50_050Z-debug.log: No existe el archivo o el directorio
eduardo@eduardo-VirtualBox:/var/www/onlyoffice/documentserver/server/SpellChecker$ cat /home/eduardo/.npm/_logs/2019-12-11T20_10_01_597Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/home/eduardo/.nvm/versions/node/v8.16.2/bin/node',
1 verbose cli '/home/eduardo/.nvm/versions/node/v8.16.2/bin/npm',
1 verbose cli 'install' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session 9bac23df188a20ea
5 silly install runPreinstallTopLevelLifecycles
6 silly preinstall [email protected]
7 info lifecycle [email protected]~preinstall: [email protected]
8 silly install loadCurrentTree
9 silly install readLocalPackageData
10 timing stage:loadCurrentTree Completed in 307ms
11 silly install loadIdealTree
12 silly install cloneCurrentTreeToIdealTree
13 timing stage:loadIdealTree:cloneCurrentTree Completed in 1ms
14 silly install loadShrinkwrap
15 timing stage:loadIdealTree:loadShrinkwrap Completed in 102ms
16 silly install loadAllDepsIntoIdealTree
17 timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 131ms
18 timing stage:loadIdealTree Completed in 251ms
19 silly currentTree [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ¬ [email protected]
19 silly currentTree β βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
19 silly currentTree βββ [email protected]
20 silly idealTree [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ nodehun@git+https://[email protected]/ONLYOFFICE/nodehun.git#c9ba32e5ff117ecc51e8e119c0753a021e519113
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ¬ [email protected]
20 silly idealTree β βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
20 silly idealTree βββ [email protected]
21 silly install generateActionsToTake
22 warn checkPermissions Missing write access to /var/www/onlyoffice/documentserver/server/SpellChecker/node_modules
23 timing stage:rollbackFailedOptional Completed in 0ms
24 timing stage:runTopLevelLifecycles Completed in 633ms
25 silly saveTree [email protected]
25 silly saveTree βββ [email protected]
25 silly saveTree βββ¬ [email protected]
25 silly saveTree β βββ¬ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree βββ¬ [email protected]
25 silly saveTree β βββ¬ [email protected]
25 silly saveTree β β βββ¬ [email protected]
25 silly saveTree β β β βββ [email protected]
25 silly saveTree β β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree β βββ¬ [email protected]
25 silly saveTree β β βββ [email protected]
25 silly saveTree β β βββ [email protected]
25 silly saveTree β β βββ¬ [email protected]
25 silly saveTree β β β βββ [email protected]
25 silly saveTree β β βββ [email protected]
25 silly saveTree β β βββ¬ [email protected]
25 silly saveTree β β β βββ [email protected]
25 silly saveTree β β β βββ [email protected]
25 silly saveTree β β β βββ [email protected]
25 silly saveTree β β β βββ [email protected]
25 silly saveTree β β βββ¬ [email protected]
25 silly saveTree β β β βββ [email protected]
25 silly saveTree β β βββ¬ [email protected]
25 silly saveTree β β β βββ [email protected]
25 silly saveTree β β βββ [email protected]
25 silly saveTree β β βββ¬ [email protected]
25 silly saveTree β β β βββ [email protected]
25 silly saveTree β β βββ¬ [email protected]
25 silly saveTree β β βββ [email protected]
25 silly saveTree β βββ¬ [email protected]
25 silly saveTree β β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree β βββ¬ [email protected]
25 silly saveTree β β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree β βββ¬ [email protected]
25 silly saveTree β β βββ [email protected]
25 silly saveTree β β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree β βββ¬ [email protected]
25 silly saveTree β β βββ [email protected]
25 silly saveTree β β βββ [email protected]
25 silly saveTree β β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree βββ nodehun@git+https://[email protected]/ONLYOFFICE/nodehun.git#c9ba32e5ff117ecc51e8e119c0753a021e519113
25 silly saveTree βββ¬ [email protected]
25 silly saveTree βββ¬ [email protected]
25 silly saveTree β βββ¬ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree β βββ [email protected]
25 silly saveTree βββ [email protected]
26 verbose stack Error: EACCES: permission denied, access '/var/www/onlyoffice/documentserver/server/SpellChecker/node_modules'
27 verbose cwd /var/www/onlyoffice/documentserver/server/SpellChecker
28 verbose Linux 4.15.0-72-generic
29 verbose argv "/home/eduardo/.nvm/versions/node/v8.16.2/bin/node" "/home/eduardo/.nvm/versions/node/v8.16.2/bin/npm" "install"
30 verbose node v8.16.2
31 verbose npm v6.4.1
32 error path /var/www/onlyoffice/documentserver/server/SpellChecker/node_modules
33 error code EACCES
34 error errno -13
35 error syscall access
36 error Error: EACCES: permission denied, access '/var/www/onlyoffice/documentserver/server/SpellChecker/node_modules'
36 error { Error: EACCES: permission denied, access '/var/www/onlyoffice/documentserver/server/SpellChecker/node_modules'
36 error stack: 'Error: EACCES: permission denied, access \'/var/www/onlyoffice/documentserver/server/SpellChecker/node_modules\'',
36 error errno: -13,
36 error code: 'EACCES',
36 error syscall: 'access',
36 error path: '/var/www/onlyoffice/documentserver/server/SpellChecker/node_modules' }
37 error The operation was rejected by your operating system.
37 error It is likely you do not have the permissions to access this file as the current user
37 error
37 error If you believe this might be a permissions issue, please double-check the
37 error permissions of the file and its containing directories, or try running
37 error the command again as root/Administrator (though this is not recommended).
38 verbose exit [ -13, true ]
What ive done:
sudo supervisorctl stop all
sudo chown -R $USER:$(id -gn $USER) /home/eduardo/.config
sudo wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.35.1/install.sh | bash
source /etc/profile
cd /var/www/onlyoffice/documentserver/server/SpellChecker
sudo mv node_modules/ node_modules_old/
sudo npm install
eduardo@eduardo-VirtualBox:/var/www/onlyoffice/documentserver/server/SpellChecker$ sudo npm install
> nodehun@git+https://[email protected]/ONLYOFFICE/nodehun.git#c9ba32e5ff117ecc51e8e119c0753a021e519113 install /var/www/onlyoffice/documentserver/server/SpellChecker/node_modules/nodehun
> node-gyp rebuild
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/var/www/onlyoffice/documentserver/server/SpellChecker/node_modules/nodehun/build'
gyp ERR! System Linux 4.15.0-72-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/onlyoffice/documentserver/server/SpellChecker/node_modules/nodehun
gyp ERR! node -v v12.13.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! nodehun@git+https://[email protected]/ONLYOFFICE/nodehun.git#c9ba32e5ff117ecc51e8e119c0753a021e519113 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the nodehun@git+https://[email protected]/ONLYOFFICE/nodehun.git#c9ba32e5ff117ecc51e8e119c0753a021e519113 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/eduardo/.npm/_logs/2019-12-11T20_18_10_783Z-debug.log
Close and exit terminal. Open another terminal.
nvm install 8.16.2
And get error and logs from above...
eduardo@eduardo-VirtualBox:/var/www/onlyoffice/documentserver/server/SpellChecker$ nvm install 8.16.2
v8.16.2 is already installed.
Now using node v8.16.2 (npm v6.4.1)
I have now nodejs 8.16.2 and node. I had a binary version of nodejs 12.X but now i deleted it, i have both nodejs and node 8.16.2
eduardo@eduardo-VirtualBox:/var/www/onlyoffice/documentserver/server/SpellChecker$ sudo npm install
[sudo] contraseΓ±a para eduardo:
Unhandled rejection Error: Command failed: /usr/bin/git clone --depth=1 -q -b master https://[email protected]/ONLYOFFICE/nodehun.git /home/eduardo/.npm/_cacache/tmp/git-clone-8422e26e
/home/eduardo/.npm/_cacache/tmp/git-clone-8422e26e/.git: Permiso denegado
at ChildProcess.exithandler (child_process.js:281:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:915:16)
at Socket.stream.socket.on (internal/child_process.js:336:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:561:12)
updated 1 package and audited 138 packages in 1.072s
found 0 vulnerabilities
Seems error has to be related to nodehun:
eduardo@eduardo-VirtualBox:/var/www/onlyoffice/documentserver/server/SpellChecker$ npm install nodehun
npm ERR! path /home/eduardo/.npm/_cacache/tmp/git-clone-90c73bd8
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall mkdir
npm ERR! Error: EACCES: permission denied, mkdir '/home/eduardo/.npm/_cacache/tmp/git-clone-90c73bd8'
npm ERR! { Error: EACCES: permission denied, mkdir '/home/eduardo/.npm/_cacache/tmp/git-clone-90c73bd8'
npm ERR! cause:
npm ERR! { Error: EACCES: permission denied, mkdir '/home/eduardo/.npm/_cacache/tmp/git-clone-90c73bd8'
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/home/eduardo/.npm/_cacache/tmp/git-clone-90c73bd8' },
npm ERR! stack: 'Error: EACCES: permission denied, mkdir \'/home/eduardo/.npm/_cacache/tmp/git-clone-90c73bd8\'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/home/eduardo/.npm/_cacache/tmp/git-clone-90c73bd8' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
eduardo@eduardo-VirtualBox:/var/www/onlyoffice/documentserver/server/SpellChecker$ sudo npm install nodehun
npm ERR! code 1
npm ERR! Command failed: /usr/bin/git clone --depth=1 -q -b master https://[email protected]/ONLYOFFICE/nodehun.git /home/eduardo/.npm/_cacache/tmp/git-clone-1221ba1d
npm ERR! /home/eduardo/.npm/_cacache/tmp/git-clone-1221ba1d/.git: Permiso denegado
npm ERR!
Dear all, is this issue solved?
i have an onlyoffice instance and cannot make spellchevker to work.
The instance runs debian 9.1, nodejs -v
v12.14.1, npm -v 6.13.7.
during npm install there are numerous warnings and erros while at the end:
/root/.cache/node-gyp/12.14.1/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
^~~~
/root/.cache/node-gyp/12.14.1/include/node/v8.h:4193:43: note: candidate expects 4 arguments, 3 provided
make: *** [Release/obj.target/nodehun/src/nodehun.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:223:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.9.0-11-amd64
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/onlyoffice/documentserver/server/SpellChecker/node_modules/nodehun
gyp ERR! node -v v12.14.1
gyp ERR! node-gyp -v v5.0.7
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! nodehun@git+https://[email protected]/ONLYOFFICE/nodehun.git#c9ba32e5ff117ecc51e8e119c0753a021e519113 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the nodehun@git+https://[email protected]/ONLYOFFICE/nodehun.git#c9ba32e5ff117ecc51e8e119c0753a021e519113 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
solved and Spellchecker works fine in nextcloud. Sometimes it is usefull to only do what is exactly mentioned (Node.js: version 8.12.0)!!
sudo npm install -g n
sudo n 8.12.0
sudo npm install
supervisorctl start all
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.
Most helpful comment
Fixed it!
I had to change the ownership of /var/www/onlyoffice/documentserver/server/SpellChecker/ from onlyoffice to keli (user) then run npm install (without sudo)
Spellchecker now works, thanks @agolybev
Here's the output.