Comments (2)
With node:latest nodehun is working. Thank you!
from nodehun.
hey @Crazy-kun , could you try FROM node
?
I can't even build the container haha...
docker build log
$ docker build -t nodehun-debug .
[+] Building 30.7s (10/10) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/node:12.10-alpine 0.5s
=> [1/6] FROM docker.io/library/node:12.10-alpine@sha256:744b156ec2dca0ad8291f80f9093273d45eb85378b6290b2fbbada861cc3e 0.0s
=> [internal] load build context 0.3s
=> => transferring context: 11.92MB 0.3s
=> CACHED [2/6] RUN apk add --no-cache g++ gcc make python hunspell 0.0s
=> CACHED [3/6] RUN mkdir -p /var/www 0.0s
=> [4/6] COPY . /var/www 0.1s
=> [5/6] WORKDIR /var/www 0.0s
=> ERROR [6/6] RUN npm -v && npm i node-gyp && npm ci && npm run build && npm cache clean --force 29.7s
------
> [6/6] RUN npm -v && npm i node-gyp && npm ci && npm run build && npm cache clean --force:
#9 0.484 6.10.3
#9 1.645 npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
#9 7.102
#9 7.102 > [email protected] install /var/www/node_modules/nodehun
#9 7.102 > node-gyp rebuild
#9 7.102
#9 8.737 make: Entering directory '/var/www/node_modules/nodehun/build'
#9 8.737 CC(target) Release/obj.target/nothing/../node-addon-api/nothing.o
#9 8.761 AR(target) Release/obj.target/../node-addon-api/nothing.a
#9 8.766 COPY Release/nothing.a
#9 8.770 CXX(target) Release/obj.target/hunspell/hunspell/src/hunspell/affentry.o
#9 8.803 ../hunspell/src/hunspell/affentry.cxx: In member function 'int PfxEntry::test_condition(const char*)':
#9 8.803 ../hunspell/src/hunspell/affentry.cxx:113:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
#9 8.803 case '.': if (!pos) { // dots are not metacharacters in groups: [.]
#9 8.803 ^~
#9 8.803 ../hunspell/src/hunspell/affentry.cxx:120:5: note: here
#9 8.803 default: {
#9 8.803 ^~~~~~~
#9 8.807 ../hunspell/src/hunspell/affentry.cxx: In member function 'int SfxEntry::test_condition(const char*, const char*)':
#9 8.807 ../hunspell/src/hunspell/affentry.cxx:501:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
#9 8.807 case '.': if (!pos) { // dots are not metacharacters in groups: [.]
#9 8.807 ^~
#9 8.807 ../hunspell/src/hunspell/affentry.cxx:516:5: note: here
#9 8.807 default: {
#9 8.807 ^~~~~~~
#9 9.583 CXX(target) Release/obj.target/hunspell/hunspell/src/hunspell/affixmgr.o
#9 9.724 ../hunspell/src/hunspell/affixmgr.cxx: In member function 'int AffixMgr::parse_convtable(char*, IStrMgr*, RepList**, const char*)':
#9 9.724 ../hunspell/src/hunspell/affixmgr.cxx:3671:58: warning: argument to 'sizeof' in 'int strncmp(const char*, const char*, size_t)' call is the same expression as the second source; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
#9 9.724 if (strncmp(piece, keyword, sizeof(keyword)) != 0) {
#9 9.724 ^~~~~~~~~~~~~~~
#9 10.14 ../hunspell/src/hunspell/affixmgr.cxx: In member function 'int AffixMgr::encodeit(affentry&, char*)':
#9 10.14 ../hunspell/src/hunspell/affixmgr.cxx:1092:12: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 20 equals destination size [-Wstringop-truncation]
#9 10.14 strncpy(entry.c.conds, cs, MAXCONDLEN);
#9 10.14 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#9 11.71 CXX(target) Release/obj.target/hunspell/hunspell/src/hunspell/csutil.o
#9 12.22 ../hunspell/src/hunspell/csutil.cxx: In function 'void strlinecat(char*, const char*)':
#9 12.22 ../hunspell/src/hunspell/csutil.cxx:411:24: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
#9 12.22 strncpy(dest, s, len);
#9 12.22 ~~~~~~~^~~~~~~~~~~~~~
#9 12.22 ../hunspell/src/hunspell/csutil.cxx:407:21: note: length computed here
#9 12.22 int len = strlen(s);
#9 12.22 ~~~~~~^~~
#9 12.27 ../hunspell/src/hunspell/csutil.cxx: In function 'char* mystrrep(char*, const char*, const char*)':
#9 12.27 ../hunspell/src/hunspell/csutil.cxx:567:16: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
#9 12.27 strncpy(pos, rep, replen);
#9 12.27 ~~~~~~~^~~~~~~~~~~~~~~~~~
#9 12.27 ../hunspell/src/hunspell/csutil.cxx:552:26: note: length computed here
#9 12.27 int replen = strlen(rep);
#9 12.27 ~~~~~~^~~~~
#9 12.52 CXX(target) Release/obj.target/hunspell/hunspell/src/hunspell/dictmgr.o
#9 12.53 ../hunspell/src/hunspell/dictmgr.cxx: In member function 'int DictMgr::parse_file(const char*, const char*)':
#9 12.53 ../hunspell/src/hunspell/dictmgr.cxx:102:37: warning: this statement may fall through [-Wimplicit-fallthrough=]
#9 12.53 pdict->region=NULL;
#9 12.53 ^
#9 12.53 ../hunspell/src/hunspell/dictmgr.cxx:103:21: note: here
#9 12.53 case 2: //deliberate fallthrough
#9 12.53 ^~~~
#9 12.59 CXX(target) Release/obj.target/hunspell/hunspell/src/hunspell/filemgr.o
#9 12.64 CXX(target) Release/obj.target/hunspell/hunspell/src/hunspell/hashmgr.o
#9 13.01 CXX(target) Release/obj.target/hunspell/hunspell/src/hunspell/hunspell.o
#9 13.05 ../hunspell/src/hunspell/hunspell.cxx: In member function 'int Hunspell::spell(const char*, int*, char**)':
#9 13.05 ../hunspell/src/hunspell/hunspell.cxx:378:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
#9 13.05 *info += SPELL_ORIGCAP;
#9 13.05 ../hunspell/src/hunspell/hunspell.cxx:379:6: note: here
#9 13.05 case NOCAP: {
#9 13.05 ^~~~
#9 13.05 ../hunspell/src/hunspell/hunspell.cxx:448:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
#9 13.05 }
#9 13.05 ^
#9 13.05 ../hunspell/src/hunspell/hunspell.cxx:450:6: note: here
#9 13.05 case INITCAP: {
#9 13.05 ^~~~
#9 13.06 ../hunspell/src/hunspell/hunspell.cxx: In member function 'int Hunspell::suggest(char***, const char*)':
#9 13.06 ../hunspell/src/hunspell/hunspell.cxx:750:30: warning: this statement may fall through [-Wimplicit-fallthrough=]
#9 13.06 capwords = 1;
#9 13.06 ~~~~~~~~~^~~
#9 13.06 ../hunspell/src/hunspell/hunspell.cxx:751:6: note: here
#9 13.06 case HUHCAP: {
#9 13.06 ^~~~
#9 13.06 ../hunspell/src/hunspell/hunspell.cxx:874:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
#9 13.06 capwords = 1;
#9 13.06 ~~~~~~~~~^~~
#9 13.06 ../hunspell/src/hunspell/hunspell.cxx:875:11: note: here
#9 13.06 case HUHCAP: {
#9 13.06 ^~~~
#9 13.73 CXX(target) Release/obj.target/hunspell/hunspell/src/hunspell/hunzip.o
#9 13.86 CXX(target) Release/obj.target/hunspell/hunspell/src/hunspell/phonet.o
#9 14.01 CXX(target) Release/obj.target/hunspell/hunspell/src/hunspell/replist.o
#9 14.08 CXX(target) Release/obj.target/hunspell/hunspell/src/hunspell/strmgr.o
#9 14.34 CXX(target) Release/obj.target/hunspell/hunspell/src/hunspell/suggestmgr.o
#9 14.40 ../hunspell/src/hunspell/suggestmgr.cxx: In member function 'char* SuggestMgr::suggest_gen(char**, int, char*)':
#9 14.40 ../hunspell/src/hunspell/suggestmgr.cxx:1723:12: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
#9 14.40 strncpy(ds, MORPH_TERM_SFX, MORPH_TAG_LEN);
#9 14.40 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#9 15.25 AR(target) Release/obj.target/hunspell/hunspell.a
#9 15.26 COPY Release/hunspell.a
#9 15.27 CXX(target) Release/obj.target/Nodehun/src/index.o
#9 15.87 In file included from ../src/Async/AddDictionaryWorker.cc:3,
#9 15.87 from ../src/Nodehun.cc:4,
#9 15.87 from ../src/index.cc:2:
#9 15.87 ../src/Async/Worker.cc: In constructor 'Worker::Worker(HunspellContext*, const Napi::Promise::Deferred&, const char*)':
#9 15.87 ../src/Async/Worker.cc:40:29: warning: 'Worker::deferred' will be initialized after [-Wreorder]
#9 15.87 Napi::Promise::Deferred deferred;
#9 15.87 ^~~~~~~~
#9 15.87 ../src/Async/Worker.cc:25:22: warning: 'HunspellContext* Worker::context' [-Wreorder]
#9 15.87 HunspellContext* context;
#9 15.87 ^~~~~~~
#9 15.87 In file included from ../src/Async/AddDictionaryWorker.cc:3,
#9 15.87 from ../src/Nodehun.cc:4,
#9 15.87 from ../src/index.cc:2:
#9 15.87 ../src/Async/Worker.cc:11:5: warning: when initialized here [-Wreorder]
#9 15.87 Worker(HunspellContext* context, Napi::Promise::Deferred const &d, const char* resource_name) : AsyncWorker(get_fake_callback(d.Env()).Value(), resource_name), deferred(d), context(context) {}
#9 15.87 ^~~~~~
#9 15.87 In file included from ../src/Async/AddDictionaryWorker.cc:3,
#9 15.87 from ../src/Nodehun.cc:4,
#9 15.87 from ../src/index.cc:2:
#9 15.87 ../src/Async/Worker.cc: In constructor 'Worker::Worker(HunspellContext*, const Napi::Promise::Deferred&)':
#9 15.87 ../src/Async/Worker.cc:40:29: warning: 'Worker::deferred' will be initialized after [-Wreorder]
#9 15.87 Napi::Promise::Deferred deferred;
#9 15.87 ^~~~~~~~
#9 15.87 ../src/Async/Worker.cc:25:22: warning: 'HunspellContext* Worker::context' [-Wreorder]
#9 15.87 HunspellContext* context;
#9 15.87 ^~~~~~~
#9 15.87 ../src/Async/Worker.cc:12:5: warning: when initialized here [-Wreorder]
#9 15.87 Worker(HunspellContext* context, Napi::Promise::Deferred const &d) : AsyncWorker(get_fake_callback(d.Env()).Value()), deferred(d), context(context) {}
#9 15.87 ^~~~~~
#9 17.64 SOLINK_MODULE(target) Release/obj.target/Nodehun.node
#9 17.67 COPY Release/Nodehun.node
#9 17.67 make: Leaving directory '/var/www/node_modules/nodehun/build'
#9 17.77 npm WARN [email protected] No description
#9 17.77 npm WARN [email protected] No repository field.
#9 17.77
#9 17.77 + [email protected]
#9 17.77 added 90 packages from 34 contributors, updated 2 packages and audited 92 packages in 16.551s
#9 17.77 found 0 vulnerabilities
#9 17.77
#9 18.32 npm WARN prepare removing existing node_modules/ before installation
#9 19.33
#9 19.33 > [email protected] install /var/www/node_modules/nodehun
#9 19.33 > node-gyp rebuild
#9 19.33
#9 19.51 gyp info it worked if it ends with ok
#9 19.51 gyp info using [email protected]
#9 19.51 gyp info using [email protected] | linux | x64
#9 19.57 gyp info find Python using Python version 2.7.18 found at "/usr/bin/python"
#9 19.69 gyp info spawn /usr/bin/python
#9 19.69 gyp info spawn args [
#9 19.69 gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
#9 19.69 gyp info spawn args 'binding.gyp',
#9 19.69 gyp info spawn args '-f',
#9 19.69 gyp info spawn args 'make',
#9 19.69 gyp info spawn args '-I',
#9 19.69 gyp info spawn args '/var/www/node_modules/nodehun/build/config.gypi',
#9 19.69 gyp info spawn args '-I',
#9 19.69 gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
#9 19.69 gyp info spawn args '-I',
#9 19.69 gyp info spawn args '/root/.cache/node-gyp/12.10.0/include/node/common.gypi',
#9 19.69 gyp info spawn args '-Dlibrary=shared_library',
#9 19.69 gyp info spawn args '-Dvisibility=default',
#9 19.69 gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/12.10.0',
#9 19.69 gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
#9 19.69 gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/12.10.0/<(target_arch)/node.lib',
#9 19.69 gyp info spawn args '-Dmodule_root_dir=/var/www/node_modules/nodehun',
#9 19.70 gyp info spawn args '-Dnode_engine=v8',
#9 19.70 gyp info spawn args '--depth=.',
#9 19.70 gyp info spawn args '--no-parallel',
#9 19.70 gyp info spawn args '--generator-output',
#9 19.70 gyp info spawn args 'build',
#9 19.70 gyp info spawn args '-Goutput_dir=.'
#9 19.70 gyp info spawn args ]
#9 19.87 gyp info spawn make
#9 19.87 gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
#9 19.87 make: Entering directory '/var/www/node_modules/nodehun/build'
#9 19.87 CC(target) Release/obj.target/nothing/../node-addon-api/nothing.o
#9 19.89 AR(target) Release/obj.target/../node-addon-api/nothing.a
#9 19.90 COPY Release/nothing.a
#9 19.90 CXX(target) Release/obj.target/hunspell/hunspell/src/hunspell/affentry.o
#9 19.93 ../hunspell/src/hunspell/affentry.cxx: In member function 'int PfxEntry::test_condition(const char*)':
#9 19.93 ../hunspell/src/hunspell/affentry.cxx:113:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
#9 19.93 case '.': if (!pos) { // dots are not metacharacters in groups: [.]
#9 19.93 ^~
#9 19.93 ../hunspell/src/hunspell/affentry.cxx:120:5: note: here
#9 19.93 default: {
#9 19.93 ^~~~~~~
#9 19.93 ../hunspell/src/hunspell/affentry.cxx: In member function 'int SfxEntry::test_condition(const char*, const char*)':
#9 19.93 ../hunspell/src/hunspell/affentry.cxx:501:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
#9 19.93 case '.': if (!pos) { // dots are not metacharacters in groups: [.]
#9 19.93 ^~
#9 19.93 ../hunspell/src/hunspell/affentry.cxx:516:5: note: here
#9 19.93 default: {
#9 19.93 ^~~~~~~
#9 20.71 CXX(target) Release/obj.target/hunspell/hunspell/src/hunspell/affixmgr.o
#9 20.86 ../hunspell/src/hunspell/affixmgr.cxx: In member function 'int AffixMgr::parse_convtable(char*, IStrMgr*, RepList**, const char*)':
#9 20.86 ../hunspell/src/hunspell/affixmgr.cxx:3671:58: warning: argument to 'sizeof' in 'int strncmp(const char*, const char*, size_t)' call is the same expression as the second source; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
#9 20.86 if (strncmp(piece, keyword, sizeof(keyword)) != 0) {
#9 20.86 ^~~~~~~~~~~~~~~
#9 21.26 ../hunspell/src/hunspell/affixmgr.cxx: In member function 'int AffixMgr::encodeit(affentry&, char*)':
#9 21.26 ../hunspell/src/hunspell/affixmgr.cxx:1092:12: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 20 equals destination size [-Wstringop-truncation]
#9 21.26 strncpy(entry.c.conds, cs, MAXCONDLEN);
#9 21.26 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#9 23.38 CXX(target) Release/obj.target/hunspell/hunspell/src/hunspell/csutil.o
#9 23.72 ../hunspell/src/hunspell/csutil.cxx: In function 'void strlinecat(char*, const char*)':
#9 23.72 ../hunspell/src/hunspell/csutil.cxx:411:24: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
#9 23.72 strncpy(dest, s, len);
#9 23.72 ~~~~~~~^~~~~~~~~~~~~~
#9 23.72 ../hunspell/src/hunspell/csutil.cxx:407:21: note: length computed here
#9 23.72 int len = strlen(s);
#9 23.72 ~~~~~~^~~
#9 23.77 ../hunspell/src/hunspell/csutil.cxx: In function 'char* mystrrep(char*, const char*, const char*)':
#9 23.77 ../hunspell/src/hunspell/csutil.cxx:567:16: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
#9 23.77 strncpy(pos, rep, replen);
#9 23.77 ~~~~~~~^~~~~~~~~~~~~~~~~~
#9 23.77 ../hunspell/src/hunspell/csutil.cxx:552:26: note: length computed here
#9 23.77 int replen = strlen(rep);
#9 23.77 ~~~~~~^~~~~
#9 24.01 CXX(target) Release/obj.target/hunspell/hunspell/src/hunspell/dictmgr.o
#9 24.03 ../hunspell/src/hunspell/dictmgr.cxx: In member function 'int DictMgr::parse_file(const char*, const char*)':
#9 24.03 ../hunspell/src/hunspell/dictmgr.cxx:102:37: warning: this statement may fall through [-Wimplicit-fallthrough=]
#9 24.03 pdict->region=NULL;
#9 24.03 ^
#9 24.03 ../hunspell/src/hunspell/dictmgr.cxx:103:21: note: here
#9 24.03 case 2: //deliberate fallthrough
#9 24.03 ^~~~
#9 24.09 CXX(target) Release/obj.target/hunspell/hunspell/src/hunspell/filemgr.o
#9 24.14 CXX(target) Release/obj.target/hunspell/hunspell/src/hunspell/hashmgr.o
#9 24.50 CXX(target) Release/obj.target/hunspell/hunspell/src/hunspell/hunspell.o
#9 24.59 ../hunspell/src/hunspell/hunspell.cxx: In member function 'int Hunspell::spell(const char*, int*, char**)':
#9 24.59 ../hunspell/src/hunspell/hunspell.cxx:378:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
#9 24.59 *info += SPELL_ORIGCAP;
#9 24.59 ../hunspell/src/hunspell/hunspell.cxx:379:6: note: here
#9 24.59 case NOCAP: {
#9 24.59 ^~~~
#9 24.59 ../hunspell/src/hunspell/hunspell.cxx:448:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
#9 24.59 }
#9 24.59 ^
#9 24.59 ../hunspell/src/hunspell/hunspell.cxx:450:6: note: here
#9 24.59 case INITCAP: {
#9 24.59 ^~~~
#9 24.63 ../hunspell/src/hunspell/hunspell.cxx: In member function 'int Hunspell::suggest(char***, const char*)':
#9 24.63 ../hunspell/src/hunspell/hunspell.cxx:750:30: warning: this statement may fall through [-Wimplicit-fallthrough=]
#9 24.63 capwords = 1;
#9 24.63 ~~~~~~~~~^~~
#9 24.63 ../hunspell/src/hunspell/hunspell.cxx:751:6: note: here
#9 24.63 case HUHCAP: {
#9 24.63 ^~~~
#9 24.63 ../hunspell/src/hunspell/hunspell.cxx:874:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
#9 24.63 capwords = 1;
#9 24.63 ~~~~~~~~~^~~
#9 24.63 ../hunspell/src/hunspell/hunspell.cxx:875:11: note: here
#9 24.63 case HUHCAP: {
#9 24.63 ^~~~
#9 25.41 CXX(target) Release/obj.target/hunspell/hunspell/src/hunspell/hunzip.o
#9 25.53 CXX(target) Release/obj.target/hunspell/hunspell/src/hunspell/phonet.o
#9 25.68 CXX(target) Release/obj.target/hunspell/hunspell/src/hunspell/replist.o
#9 25.75 CXX(target) Release/obj.target/hunspell/hunspell/src/hunspell/strmgr.o
#9 26.03 CXX(target) Release/obj.target/hunspell/hunspell/src/hunspell/suggestmgr.o
#9 26.09 ../hunspell/src/hunspell/suggestmgr.cxx: In member function 'char* SuggestMgr::suggest_gen(char**, int, char*)':
#9 26.09 ../hunspell/src/hunspell/suggestmgr.cxx:1723:12: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
#9 26.09 strncpy(ds, MORPH_TERM_SFX, MORPH_TAG_LEN);
#9 26.09 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#9 26.95 AR(target) Release/obj.target/hunspell/hunspell.a
#9 26.95 COPY Release/hunspell.a
#9 26.96 CXX(target) Release/obj.target/Nodehun/src/index.o
#9 27.50 In file included from ../src/Async/AddDictionaryWorker.cc:3,
#9 27.50 from ../src/Nodehun.cc:4,
#9 27.50 from ../src/index.cc:2:
#9 27.50 ../src/Async/Worker.cc: In constructor 'Worker::Worker(HunspellContext*, const Napi::Promise::Deferred&, const char*)':
#9 27.50 ../src/Async/Worker.cc:40:29: warning: 'Worker::deferred' will be initialized after [-Wreorder]
#9 27.50 Napi::Promise::Deferred deferred;
#9 27.50 ^~~~~~~~
#9 27.50 ../src/Async/Worker.cc:25:22: warning: 'HunspellContext* Worker::context' [-Wreorder]
#9 27.50 HunspellContext* context;
#9 27.50 ^~~~~~~
#9 27.50 In file included from ../src/Async/AddDictionaryWorker.cc:3,
#9 27.50 from ../src/Nodehun.cc:4,
#9 27.50 from ../src/index.cc:2:
#9 27.50 ../src/Async/Worker.cc:11:5: warning: when initialized here [-Wreorder]
#9 27.50 Worker(HunspellContext* context, Napi::Promise::Deferred const &d, const char* resource_name) : AsyncWorker(get_fake_callback(d.Env()).Value(), resource_name), deferred(d), context(context) {}
#9 27.50 ^~~~~~
#9 27.50 In file included from ../src/Async/AddDictionaryWorker.cc:3,
#9 27.50 from ../src/Nodehun.cc:4,
#9 27.50 from ../src/index.cc:2:
#9 27.50 ../src/Async/Worker.cc: In constructor 'Worker::Worker(HunspellContext*, const Napi::Promise::Deferred&)':
#9 27.50 ../src/Async/Worker.cc:40:29: warning: 'Worker::deferred' will be initialized after [-Wreorder]
#9 27.50 Napi::Promise::Deferred deferred;
#9 27.50 ^~~~~~~~
#9 27.50 ../src/Async/Worker.cc:25:22: warning: 'HunspellContext* Worker::context' [-Wreorder]
#9 27.50 HunspellContext* context;
#9 27.50 ^~~~~~~
#9 27.50 ../src/Async/Worker.cc:12:5: warning: when initialized here [-Wreorder]
#9 27.50 Worker(HunspellContext* context, Napi::Promise::Deferred const &d) : AsyncWorker(get_fake_callback(d.Env()).Value()), deferred(d), context(context) {}
#9 27.50 ^~~~~~
#9 29.23 SOLINK_MODULE(target) Release/obj.target/Nodehun.node
#9 29.26 COPY Release/Nodehun.node
#9 29.26 make: Leaving directory '/var/www/node_modules/nodehun/build'
#9 29.26 gyp info ok
#9 29.27 added 92 packages in 10.965s
#9 29.62 npm ERR! missing script: build
#9 29.63
#9 29.63 npm ERR! A complete log of this run can be found in:
#9 29.63 npm ERR! /root/.npm/_logs/2022-02-01T18_45_39_818Z-debug.log
------
executor failed running [/bin/sh -c npm -v && npm i node-gyp && npm ci && npm run build && npm cache clean --force]: exit code: 1
from nodehun.
Related Issues (20)
- Does not work from ESM HOT 1
- nodehun with VSCode and Webpack HOT 6
- Not working with Hungarian dictionary HOT 1
- While running unit test cases getting Nodehun module not found error
- Help for adding word to dictionary. HOT 1
- node-v12.13.0 error HOT 17
- Publish Nodehun v3
- Suggestions for emojis
- Segfault on suggestion HOT 1
- Nodehun and Hunspell produce different results HOT 2
- [ERROR] TypeError: cannot use a string pattern on a bytes-like object HOT 1
- nodehun fails to build
- Chrome extension: Nodehun in webpack HOT 6
- Dumping all known words HOT 1
- Hunspell GPL license HOT 2
- nodehun with electron jenkins build error HOT 2
- React app can´t find module HOT 2
- What version of Hunspell is used here? HOT 6
- Library don't works inside docker container
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodehun.