Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node-pre-gyp ERR! build error #895

Closed
miguelmota opened this issue Oct 14, 2017 · 2 comments
Closed

node-pre-gyp ERR! build error #895

miguelmota opened this issue Oct 14, 2017 · 2 comments

Comments

@miguelmota
Copy link

root@host:/var/www/website# npm install sqlite3

> sqlite3@3.1.13 install /var/www/website/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build

node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v57-linux-ia32.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.13 and node@8.4.0 (node-v57 ABI) (falling back to source compile with node-gyp)
gyp info it worked if it ends with ok
gyp verb cli [ '/root/.nvm/versions/node/v8.4.0/bin/node',
gyp verb cli   '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'clean' ]
gyp info using node-gyp@3.3.1
gyp info using node@8.4.0 | linux | ia32
gyp verb command clean []
gyp verb clean removing "build" directory
gyp info ok
gyp info it worked if it ends with ok
gyp verb cli [ '/root/.nvm/versions/node/v8.4.0/bin/node',
gyp verb cli   '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'configure',
gyp verb cli   '--fallback-to-build',
gyp verb cli   '--module=/var/www/website/node_modules/sqlite3/lib/binding/node-v57-linux-ia32/node_sqlite3.node',
gyp verb cli   '--module_name=node_sqlite3',
gyp verb cli   '--module_path=/var/www/website/node_modules/sqlite3/lib/binding/node-v57-linux-ia32' ]
gyp info using node-gyp@3.3.1
gyp info using node@8.4.0 | linux | ia32
gyp verb command configure []
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` succeeded python2 /usr/bin/python2
gyp verb check python version `/usr/bin/python2 -c "import platform; print(platform.python_version());"` returned: "2.7.3\n"
gyp verb get node dir no --target version specified, falling back to host node version: 8.4.0
gyp verb command install [ '8.4.0' ]
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp verb install input version string "8.4.0"
gyp verb install installing version: 8.4.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 8.4.0
gyp verb build dir attempting to create "build" dir: /var/www/website/node_modules/sqlite3/build
gyp verb build dir "build" dir needed to be created? /var/www/website/node_modules/sqlite3/build
gyp verb build/config.gypi creating config file
gyp sill build/config.gypi { target_defaults:
gyp sill build/config.gypi    { cflags: [],
gyp sill build/config.gypi      default_configuration: 'Release',
gyp sill build/config.gypi      defines: [],
gyp sill build/config.gypi      include_dirs: [],
gyp sill build/config.gypi      libraries: [] },
gyp sill build/config.gypi   variables:
gyp sill build/config.gypi    { asan: 0,
gyp sill build/config.gypi      coverage: false,
gyp sill build/config.gypi      debug_devtools: 'node',
gyp sill build/config.gypi      debug_http2: false,
gyp sill build/config.gypi      debug_nghttp2: false,
gyp sill build/config.gypi      force_dynamic_crt: 0,
gyp sill build/config.gypi      gas_version: '2.23',
gyp sill build/config.gypi      host_arch: 'ia32',
gyp sill build/config.gypi      icu_data_file: 'icudt59l.dat',
gyp sill build/config.gypi      icu_data_in: '../../deps/icu-small/source/data/in/icudt59l.dat',
gyp sill build/config.gypi      icu_endianness: 'l',
gyp sill build/config.gypi      icu_gyp_path: 'tools/icu/icu-generic.gyp',
gyp sill build/config.gypi      icu_locales: 'en,root',
gyp sill build/config.gypi      icu_path: 'deps/icu-small',
gyp sill build/config.gypi      icu_small: true,
gyp sill build/config.gypi      icu_ver_major: '59',
gyp sill build/config.gypi      node_byteorder: 'little',
gyp sill build/config.gypi      node_enable_d8: false,
gyp sill build/config.gypi      node_enable_v8_vtunejit: false,
gyp sill build/config.gypi      node_install_npm: true,
gyp sill build/config.gypi      node_module_version: 57,
gyp sill build/config.gypi      node_no_browser_globals: false,
gyp sill build/config.gypi      node_prefix: '/',
gyp sill build/config.gypi      node_release_urlbase: 'https://nodejs.org/download/release/',
gyp sill build/config.gypi      node_shared: false,
gyp sill build/config.gypi      node_shared_cares: false,
gyp sill build/config.gypi      node_shared_http_parser: false,
gyp sill build/config.gypi      node_shared_libuv: false,
gyp sill build/config.gypi      node_shared_openssl: false,
gyp sill build/config.gypi      node_shared_zlib: false,
gyp sill build/config.gypi      node_tag: '',
gyp sill build/config.gypi      node_use_bundled_v8: true,
gyp sill build/config.gypi      node_use_dtrace: false,
gyp sill build/config.gypi      node_use_etw: false,
gyp sill build/config.gypi      node_use_lttng: false,
gyp sill build/config.gypi      node_use_openssl: true,
gyp sill build/config.gypi      node_use_perfctr: false,
gyp sill build/config.gypi      node_use_v8_platform: true,
gyp sill build/config.gypi      node_without_node_options: false,
gyp sill build/config.gypi      openssl_fips: '',
gyp sill build/config.gypi      openssl_no_asm: 0,
gyp sill build/config.gypi      shlib_suffix: 'so.57',
gyp sill build/config.gypi      target_arch: 'ia32',
gyp sill build/config.gypi      uv_parent_path: '/deps/uv/',
gyp sill build/config.gypi      uv_use_dtrace: false,
gyp sill build/config.gypi      v8_enable_gdbjit: 0,
gyp sill build/config.gypi      v8_enable_i18n_support: 1,
gyp sill build/config.gypi      v8_enable_inspector: 1,
gyp sill build/config.gypi      v8_no_strict_aliasing: 1,
gyp sill build/config.gypi      v8_optimized_debug: 0,
gyp sill build/config.gypi      v8_promise_internal_field_count: 1,
gyp sill build/config.gypi      v8_random_seed: 0,
gyp sill build/config.gypi      v8_trace_maps: 0,
gyp sill build/config.gypi      v8_use_snapshot: false,
gyp sill build/config.gypi      want_separate_host_toolset: 0,
gyp sill build/config.gypi      want_separate_host_toolset_mkpeephole: 0,
gyp sill build/config.gypi      nodedir: '/root/.node-gyp/8.4.0',
gyp sill build/config.gypi      copy_dev_lib: true,
gyp sill build/config.gypi      standalone_static_library: 1,
gyp sill build/config.gypi      fallback_to_build: true,
gyp sill build/config.gypi      module: '/var/www/website/node_modules/sqlite3/lib/binding/node-v57-linux-ia32/node_sqlite3.node',
gyp sill build/config.gypi      module_name: 'node_sqlite3',
gyp sill build/config.gypi      module_path: '/var/www/website/node_modules/sqlite3/lib/binding/node-v57-linux-ia32',
gyp sill build/config.gypi      cache_lock_stale: '60000',
gyp sill build/config.gypi      ham_it_up: '',
gyp sill build/config.gypi      legacy_bundling: '',
gyp sill build/config.gypi      sign_git_tag: '',
gyp sill build/config.gypi      user_agent: 'npm/5.4.2 node/v8.4.0 linux ia32',
gyp sill build/config.gypi      always_auth: '',
gyp sill build/config.gypi      bin_links: 'true',
gyp sill build/config.gypi      key: '',
gyp sill build/config.gypi      allow_same_version: '',
gyp sill build/config.gypi      description: 'true',
gyp sill build/config.gypi      fetch_retries: '2',
gyp sill build/config.gypi      heading: 'npm',
gyp sill build/config.gypi      if_present: '',
gyp sill build/config.gypi      init_version: '1.0.0',
gyp sill build/config.gypi      user: '',
gyp sill build/config.gypi      prefer_online: '',
gyp sill build/config.gypi      force: '',
gyp sill build/config.gypi      only: '',
gyp sill build/config.gypi      cache_min: '10',
gyp sill build/config.gypi      init_license: 'ISC',
gyp sill build/config.gypi      editor: 'vi',
gyp sill build/config.gypi      rollback: 'true',
gyp sill build/config.gypi      tag_version_prefix: 'v',
gyp sill build/config.gypi      cache_max: 'Infinity',
gyp sill build/config.gypi      timing: '',
gyp sill build/config.gypi      userconfig: '/root/.npmrc',
gyp sill build/config.gypi      engine_strict: '',
gyp sill build/config.gypi      init_author_name: '',
gyp sill build/config.gypi      init_author_url: '',
gyp sill build/config.gypi      tmp: '/tmp',
gyp sill build/config.gypi      depth: 'Infinity',
gyp sill build/config.gypi      save_dev: '',
gyp sill build/config.gypi      usage: '',
gyp sill build/config.gypi      metrics_registry: 'http://registry.npmjs.org/',
gyp sill build/config.gypi      package_lock: 'true',
gyp sill build/config.gypi      progress: 'true',
gyp sill build/config.gypi      https_proxy: '',
gyp sill build/config.gypi      save_prod: '',
gyp sill build/config.gypi      onload_script: '',
gyp sill build/config.gypi      sso_type: 'oauth',
gyp sill build/config.gypi      rebuild_bundle: 'true',
gyp sill build/config.gypi      save_bundle: '',
gyp sill build/config.gypi      shell: '/bin/bash',
gyp sill build/config.gypi      dry_run: '',
gyp sill build/config.gypi      prefix: '/root/.nvm/versions/node/v8.4.0',
gyp sill build/config.gypi      scope: '',
gyp sill build/config.gypi      registry: 'http://registry.npmjs.org/',
gyp sill build/config.gypi      browser: '',
gyp sill build/config.gypi      cache_lock_wait: '10000',
gyp sill build/config.gypi      ignore_prepublish: '',
gyp sill build/config.gypi      save_optional: '',
gyp sill build/config.gypi      searchopts: '',
gyp sill build/config.gypi      versions: '',
gyp sill build/config.gypi      cache: '/root/.npm',
gyp sill build/config.gypi      send_metrics: '',
gyp sill build/config.gypi      global_style: '',
gyp sill build/config.gypi      ignore_scripts: '',
gyp sill build/config.gypi      version: '',
gyp sill build/config.gypi      local_address: '',
gyp sill build/config.gypi      viewer: 'man',
gyp sill build/config.gypi      prefer_offline: '',
gyp sill build/config.gypi      color: 'true',
gyp sill build/config.gypi      fetch_retry_mintimeout: '10000',
gyp sill build/config.gypi      maxsockets: '50',
gyp sill build/config.gypi      offline: '',
gyp sill build/config.gypi      sso_poll_frequency: '500',
gyp sill build/config.gypi      umask: '0022',
gyp sill build/config.gypi      fetch_retry_maxtimeout: '60000',
gyp sill build/config.gypi      logs_max: '10',
gyp sill build/config.gypi      message: '%s',
gyp sill build/config.gypi      ca: '',
gyp sill build/config.gypi      cert: '',
gyp sill build/config.gypi      global: '',
gyp sill build/config.gypi      link: '',
gyp sill build/config.gypi      access: '',
gyp sill build/config.gypi      also: '',
gyp sill build/config.gypi      save: 'true',
gyp sill build/config.gypi      unicode: 'true',
gyp sill build/config.gypi      long: '',
gyp sill build/config.gypi      production: 'true',
gyp sill build/config.gypi      searchlimit: '20',
gyp sill build/config.gypi      unsafe_perm: '',
gyp sill build/config.gypi      auth_type: 'legacy',
gyp sill build/config.gypi      node_version: '8.4.0',
gyp sill build/config.gypi      tag: 'latest',
gyp sill build/config.gypi      git_tag_version: 'true',
gyp sill build/config.gypi      commit_hooks: 'true',
gyp sill build/config.gypi      script_shell: '',
gyp sill build/config.gypi      shrinkwrap: 'true',
gyp sill build/config.gypi      fetch_retry_factor: '10',
gyp sill build/config.gypi      save_exact: '',
gyp sill build/config.gypi      strict_ssl: 'true',
gyp sill build/config.gypi      dev: '',
gyp sill build/config.gypi      globalconfig: '/root/.nvm/versions/node/v8.4.0/etc/npmrc',
gyp sill build/config.gypi      init_module: '/root/.npm-init.js',
gyp sill build/config.gypi      parseable: '',
gyp sill build/config.gypi      globalignorefile: '/root/.nvm/versions/node/v8.4.0/etc/npmignore',
gyp sill build/config.gypi      cache_lock_retries: '10',
gyp sill build/config.gypi      searchstaleness: '900',
gyp sill build/config.gypi      save_prefix: '^',
gyp sill build/config.gypi      scripts_prepend_node_path: 'warn-only',
gyp sill build/config.gypi      group: '',
gyp sill build/config.gypi      init_author_email: '',
gyp sill build/config.gypi      searchexclude: '',
gyp sill build/config.gypi      git: 'git',
gyp sill build/config.gypi      optional: 'true',
gyp sill build/config.gypi      json: '' } }
gyp verb build/config.gypi writing out config file: /var/www/website/node_modules/sqlite3/build/config.gypi
gyp verb config.gypi checking for gypi file: /var/www/website/node_modules/sqlite3/config.gypi
gyp verb common.gypi checking for gypi file: /var/www/website/node_modules/sqlite3/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/var/www/website/node_modules/sqlite3/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/root/.node-gyp/8.4.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/root/.node-gyp/8.4.0',
gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=node.lib',
gyp info spawn args   '-Dmodule_root_dir=/var/www/website/node_modules/sqlite3',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp info ok
gyp info it worked if it ends with ok
gyp verb cli [ '/root/.nvm/versions/node/v8.4.0/bin/node',
gyp verb cli   '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'build',
gyp verb cli   '--fallback-to-build',
gyp verb cli   '--module=/var/www/website/node_modules/sqlite3/lib/binding/node-v57-linux-ia32/node_sqlite3.node',
gyp verb cli   '--module_name=node_sqlite3',
gyp verb cli   '--module_path=/var/www/website/node_modules/sqlite3/lib/binding/node-v57-linux-ia32' ]
gyp info using node-gyp@3.3.1
gyp info using node@8.4.0 | linux | ia32
gyp verb command build []
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp verb build type Release
gyp verb architecture ia32
gyp verb node dev dir /root/.node-gyp/8.4.0
gyp verb `which` succeeded for `make` /usr/bin/make
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory `/var/www/website/node_modules/sqlite3/build'
  ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c
  TOUCH Release/obj.target/deps/action_before_build.stamp
  CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3150000/sqlite3.o
  AR(target) Release/obj.target/deps/sqlite3.a
  COPY Release/sqlite3.a
  CXX(target) Release/obj.target/node_sqlite3/src/database.o
In file included from ../src/database.h:10:0,
                 from ../src/database.cc:4:
../../nan/nan.h:45:3: error: #error This version of node/NAN/v8 requires a C++11 compiler
In file included from /root/.node-gyp/8.4.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:49,
                 from ../src/database.h:10,
                 from ../src/database.cc:4:
/root/.node-gyp/8.4.0/include/node/v8.h:333:1: error: expected unqualified-id before ‘using’
/root/.node-gyp/8.4.0/include/node/v8.h:838:1: error: expected unqualified-id before ‘using’
/root/.node-gyp/8.4.0/include/node/v8.h:4064:29: error: function definition does not declare parameters
/root/.node-gyp/8.4.0/include/node/v8.h:4120:13: error: ‘OwnedBuffer’ in ‘struct v8::TransferrableModule’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4120:47: error: ISO C++ forbids declaration of ‘buff’ with no type [-fpermissive]
/root/.node-gyp/8.4.0/include/node/v8.h: In static member function ‘static v8::WasmCompiledModule::CallerOwnedBuffer v8::WasmCompiledModule::AsCallerOwned(const int&)’:
/root/.node-gyp/8.4.0/include/node/v8.h:4121:18: error: request for member ‘first’ in ‘buff’, which is of non-class type ‘const int’
/root/.node-gyp/8.4.0/include/node/v8.h:4121:36: error: request for member ‘second’ in ‘buff’, which is of non-class type ‘const int’
/root/.node-gyp/8.4.0/include/node/v8.h:4121:42: error: could not convert ‘{<expression error>, <expression error>}’ from ‘<brace-enclosed initializer list>’ to ‘v8::WasmCompiledModule::CallerOwnedBuffer {aka std::pair<const unsigned char*, unsigned int>}’
/root/.node-gyp/8.4.0/include/node/v8.h: At global scope:
/root/.node-gyp/8.4.0/include/node/v8.h:4128:41: error: variable ‘v8::WasmModuleObjectBuilder v8::final’ has initializer but incomplete type
/root/.node-gyp/8.4.0/include/node/v8.h:4129:2: error: expected primary-expression before ‘public’
/root/.node-gyp/8.4.0/include/node/v8.h:4129:2: error: expected ‘}’ before ‘public’
/root/.node-gyp/8.4.0/include/node/v8.h:4129:2: error: expected ‘,’ or ‘;’ before ‘public’
/root/.node-gyp/8.4.0/include/node/v8.h:4135:2: error: expected unqualified-id before ‘private’
/root/.node-gyp/8.4.0/include/node/v8.h:4143:27: error: expected unqualified-id before ‘const’
/root/.node-gyp/8.4.0/include/node/v8.h:4143:27: error: expected ‘)’ before ‘const’
/root/.node-gyp/8.4.0/include/node/v8.h:4144:50: error: expected ‘)’ before ‘&&’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4147:68: error: ‘v8::WasmModuleObjectBuilder& v8::operator=(const v8::WasmModuleObjectBuilder&)’ must be a nonstatic member function
/root/.node-gyp/8.4.0/include/node/v8.h:4148:63: error: ‘v8::WasmModuleObjectBuilder& v8::operator=(v8::WasmModuleObjectBuilder&&)’ must be a nonstatic member function
/root/.node-gyp/8.4.0/include/node/v8.h:4166:45: error: expected class-name before ‘{’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4278:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4289:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4335:38: error: ‘Cast’ declared as an ‘inline’ field
/root/.node-gyp/8.4.0/include/node/v8.h:4335:38: warning: ‘always_inline’ attribute ignored [-Wattributes]
/root/.node-gyp/8.4.0/include/node/v8.h:4335:33: error: expected ‘;’ at end of member declaration
/root/.node-gyp/8.4.0/include/node/v8.h:4335:43: error: expected ‘)’ before ‘*’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4342:25: error: ‘Value’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4356:49: error: expected class-name before ‘{’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4361:3: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4388:42: error: ‘Cast’ declared as an ‘inline’ field
/root/.node-gyp/8.4.0/include/node/v8.h:4388:42: warning: ‘always_inline’ attribute ignored [-Wattributes]
/root/.node-gyp/8.4.0/include/node/v8.h:4388:37: error: expected ‘;’ at end of member declaration
/root/.node-gyp/8.4.0/include/node/v8.h:4388:47: error: expected ‘)’ before ‘*’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4397:25: error: ‘Value’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4413:37: error: ‘Cast’ declared as an ‘inline’ field
/root/.node-gyp/8.4.0/include/node/v8.h:4413:37: warning: ‘always_inline’ attribute ignored [-Wattributes]
/root/.node-gyp/8.4.0/include/node/v8.h:4413:32: error: expected ‘;’ at end of member declaration
/root/.node-gyp/8.4.0/include/node/v8.h:4413:42: error: expected ‘)’ before ‘*’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4417:25: error: ‘Value’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4426:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4428:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4430:37: error: ‘Cast’ declared as an ‘inline’ field
/root/.node-gyp/8.4.0/include/node/v8.h:4430:37: warning: ‘always_inline’ attribute ignored [-Wattributes]
/root/.node-gyp/8.4.0/include/node/v8.h:4430:32: error: expected ‘;’ at end of member declaration
/root/.node-gyp/8.4.0/include/node/v8.h:4430:42: error: expected ‘)’ before ‘*’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4434:25: error: ‘Value’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4443:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4445:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4448:44: error: ‘Cast’ declared as an ‘inline’ field
/root/.node-gyp/8.4.0/include/node/v8.h:4448:44: warning: ‘always_inline’ attribute ignored [-Wattributes]
/root/.node-gyp/8.4.0/include/node/v8.h:4448:39: error: expected ‘;’ at end of member declaration
/root/.node-gyp/8.4.0/include/node/v8.h:4448:49: error: expected ‘)’ before ‘*’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4452:25: error: ‘Value’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4460:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4462:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4464:36: error: ‘Cast’ declared as an ‘inline’ field
/root/.node-gyp/8.4.0/include/node/v8.h:4464:36: warning: ‘always_inline’ attribute ignored [-Wattributes]
/root/.node-gyp/8.4.0/include/node/v8.h:4464:31: error: expected ‘;’ at end of member declaration
/root/.node-gyp/8.4.0/include/node/v8.h:4464:41: error: expected ‘)’ before ‘*’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4468:25: error: ‘Value’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4477:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4479:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4481:38: error: ‘Cast’ declared as an ‘inline’ field
/root/.node-gyp/8.4.0/include/node/v8.h:4481:38: warning: ‘always_inline’ attribute ignored [-Wattributes]
/root/.node-gyp/8.4.0/include/node/v8.h:4481:33: error: expected ‘;’ at end of member declaration
/root/.node-gyp/8.4.0/include/node/v8.h:4481:43: error: expected ‘)’ before ‘*’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4485:25: error: ‘Value’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4494:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4496:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4498:37: error: ‘Cast’ declared as an ‘inline’ field
/root/.node-gyp/8.4.0/include/node/v8.h:4498:37: warning: ‘always_inline’ attribute ignored [-Wattributes]
/root/.node-gyp/8.4.0/include/node/v8.h:4498:32: error: expected ‘;’ at end of member declaration
/root/.node-gyp/8.4.0/include/node/v8.h:4498:42: error: expected ‘)’ before ‘*’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4502:25: error: ‘Value’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4511:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4513:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4515:38: error: ‘Cast’ declared as an ‘inline’ field
/root/.node-gyp/8.4.0/include/node/v8.h:4515:38: warning: ‘always_inline’ attribute ignored [-Wattributes]
/root/.node-gyp/8.4.0/include/node/v8.h:4515:33: error: expected ‘;’ at end of member declaration
/root/.node-gyp/8.4.0/include/node/v8.h:4515:43: error: expected ‘)’ before ‘*’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4519:25: error: ‘Value’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4528:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4530:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4532:37: error: ‘Cast’ declared as an ‘inline’ field
/root/.node-gyp/8.4.0/include/node/v8.h:4532:37: warning: ‘always_inline’ attribute ignored [-Wattributes]
/root/.node-gyp/8.4.0/include/node/v8.h:4532:32: error: expected ‘;’ at end of member declaration
/root/.node-gyp/8.4.0/include/node/v8.h:4532:42: error: expected ‘)’ before ‘*’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4536:25: error: ‘Value’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4545:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4547:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4549:39: error: ‘Cast’ declared as an ‘inline’ field
/root/.node-gyp/8.4.0/include/node/v8.h:4549:39: warning: ‘always_inline’ attribute ignored [-Wattributes]
/root/.node-gyp/8.4.0/include/node/v8.h:4549:34: error: expected ‘;’ at end of member declaration
/root/.node-gyp/8.4.0/include/node/v8.h:4549:44: error: expected ‘)’ before ‘*’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4553:25: error: ‘Value’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4562:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4564:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4566:39: error: ‘Cast’ declared as an ‘inline’ field
/root/.node-gyp/8.4.0/include/node/v8.h:4566:39: warning: ‘always_inline’ attribute ignored [-Wattributes]
/root/.node-gyp/8.4.0/include/node/v8.h:4566:34: error: expected ‘;’ at end of member declaration
/root/.node-gyp/8.4.0/include/node/v8.h:4566:44: error: expected ‘)’ before ‘*’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4570:25: error: ‘Value’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4579:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4581:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4583:35: error: ‘Cast’ declared as an ‘inline’ field
/root/.node-gyp/8.4.0/include/node/v8.h:4583:35: warning: ‘always_inline’ attribute ignored [-Wattributes]
/root/.node-gyp/8.4.0/include/node/v8.h:4583:30: error: expected ‘;’ at end of member declaration
/root/.node-gyp/8.4.0/include/node/v8.h:4583:40: error: expected ‘)’ before ‘*’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4587:25: error: ‘Value’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4595:51: error: expected class-name before ‘{’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4634:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4642:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4680:44: error: ‘Cast’ declared as an ‘inline’ field
/root/.node-gyp/8.4.0/include/node/v8.h:4680:44: warning: ‘always_inline’ attribute ignored [-Wattributes]
/root/.node-gyp/8.4.0/include/node/v8.h:4680:39: error: expected ‘;’ at end of member declaration
/root/.node-gyp/8.4.0/include/node/v8.h:4680:49: error: expected ‘)’ before ‘*’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4686:25: error: ‘Value’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4693:38: error: expected class-name before ‘{’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4695:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4697:32: error: ‘MaybeLocal’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4706:31: error: ‘Cast’ declared as an ‘inline’ field
/root/.node-gyp/8.4.0/include/node/v8.h:4706:31: warning: ‘always_inline’ attribute ignored [-Wattributes]
/root/.node-gyp/8.4.0/include/node/v8.h:4706:26: error: expected ‘;’ at end of member declaration
/root/.node-gyp/8.4.0/include/node/v8.h:4706:36: error: expected ‘)’ before ‘*’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4720:55: error: ‘Isolate’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4723:25: error: ‘Value’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4730:46: error: expected class-name before ‘{’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4732:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4736:39: error: ‘Cast’ declared as an ‘inline’ field
/root/.node-gyp/8.4.0/include/node/v8.h:4736:39: warning: ‘always_inline’ attribute ignored [-Wattributes]
/root/.node-gyp/8.4.0/include/node/v8.h:4736:34: error: expected ‘;’ at end of member declaration
/root/.node-gyp/8.4.0/include/node/v8.h:4736:44: error: expected ‘)’ before ‘*’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4739:25: error: ‘Value’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4746:47: error: expected class-name before ‘{’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4748:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4749:3: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4753:40: error: ‘Cast’ declared as an ‘inline’ field
/root/.node-gyp/8.4.0/include/node/v8.h:4753:40: warning: ‘always_inline’ attribute ignored [-Wattributes]
/root/.node-gyp/8.4.0/include/node/v8.h:4753:35: error: expected ‘;’ at end of member declaration
/root/.node-gyp/8.4.0/include/node/v8.h:4753:45: error: expected ‘)’ before ‘*’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4756:25: error: ‘Value’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4763:46: error: expected class-name before ‘{’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4765:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4767:3: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4769:39: error: ‘Cast’ declared as an ‘inline’ field
/root/.node-gyp/8.4.0/include/node/v8.h:4769:39: warning: ‘always_inline’ attribute ignored [-Wattributes]
/root/.node-gyp/8.4.0/include/node/v8.h:4769:34: error: expected ‘;’ at end of member declaration
/root/.node-gyp/8.4.0/include/node/v8.h:4769:44: error: expected ‘)’ before ‘*’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4772:25: error: ‘Value’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4779:46: error: expected class-name before ‘{’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4781:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4783:3: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4785:39: error: ‘Cast’ declared as an ‘inline’ field
/root/.node-gyp/8.4.0/include/node/v8.h:4785:39: warning: ‘always_inline’ attribute ignored [-Wattributes]
/root/.node-gyp/8.4.0/include/node/v8.h:4785:34: error: expected ‘;’ at end of member declaration
/root/.node-gyp/8.4.0/include/node/v8.h:4785:44: error: expected ‘)’ before ‘*’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4788:25: error: ‘Value’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4795:40: error: expected class-name before ‘{’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4821:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4824:32: error: ‘MaybeLocal’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4832:3: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4839:33: error: ‘Cast’ declared as an ‘inline’ field
/root/.node-gyp/8.4.0/include/node/v8.h:4839:33: warning: ‘always_inline’ attribute ignored [-Wattributes]
/root/.node-gyp/8.4.0/include/node/v8.h:4839:28: error: expected ‘;’ at end of member declaration
/root/.node-gyp/8.4.0/include/node/v8.h:4839:38: error: expected ‘)’ before ‘*’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4842:25: error: ‘Value’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4850:41: error: expected class-name before ‘{’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4852:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:4853:35: error: ‘Cast’ declared as an ‘inline’ field
/root/.node-gyp/8.4.0/include/node/v8.h:4853:35: warning: ‘always_inline’ attribute ignored [-Wattributes]
/root/.node-gyp/8.4.0/include/node/v8.h:4853:30: error: expected ‘;’ at end of member declaration
/root/.node-gyp/8.4.0/include/node/v8.h:4853:40: error: expected ‘)’ before ‘*’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4879:40: error: expected class-name before ‘{’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4886:12: error: ‘Local’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4886:17: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4888:19: error: ‘Local’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4888:24: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4890:22: error: ‘Isolate’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4890:58: error: ‘Local’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4890:63: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4893:6: error: ‘Local’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4893:11: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4927:7: error: ‘Local’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4927:12: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4934:7: error: ‘Local’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4934:12: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4933:8: error: ‘void Template::SetNativeDataProperty(int)’ cannot be overloaded
/root/.node-gyp/8.4.0/include/node/v8.h:4926:8: error: with ‘void Template::SetNativeDataProperty(int)’
/root/.node-gyp/8.4.0/include/node/v8.h:4945:28: error: ‘Local’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4945:33: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4953:33: error: ‘Local’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:4953:38: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:4969:5: error: typedef ‘NamedPropertyGetterCallback’ is initialized (use decltype instead)
/root/.node-gyp/8.4.0/include/node/v8.h:4969:5: error: ‘Local’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:4969:5: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:112:26: note:   ‘v8::Local’
/root/.node-gyp/8.4.0/include/node/v8.h:4969:11: error: ‘String’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:4969:11: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:2399:17: note:   ‘v8::String’
/root/.node-gyp/8.4.0/include/node/v8.h:4969:19: error: ‘property’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:4970:5: error: expected primary-expression before ‘const’
/root/.node-gyp/8.4.0/include/node/v8.h:4978:5: error: typedef ‘NamedPropertySetterCallback’ is initialized (use decltype instead)
/root/.node-gyp/8.4.0/include/node/v8.h:4978:5: error: ‘Local’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:4978:5: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:112:26: note:   ‘v8::Local’
/root/.node-gyp/8.4.0/include/node/v8.h:4978:11: error: ‘String’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:4978:11: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:2399:17: note:   ‘v8::String’
/root/.node-gyp/8.4.0/include/node/v8.h:4978:19: error: ‘property’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:4979:5: error: ‘Local’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:4979:5: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:112:26: note:   ‘v8::Local’
/root/.node-gyp/8.4.0/include/node/v8.h:4979:11: error: ‘Value’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:4979:11: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:1988:17: note:   ‘v8::Value’
/root/.node-gyp/8.4.0/include/node/v8.h:4979:18: error: ‘value’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:4980:5: error: expected primary-expression before ‘const’
/root/.node-gyp/8.4.0/include/node/v8.h:4989:5: error: typedef ‘NamedPropertyQueryCallback’ is initialized (use decltype instead)
/root/.node-gyp/8.4.0/include/node/v8.h:4989:5: error: ‘Local’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:4989:5: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:112:26: note:   ‘v8::Local’
/root/.node-gyp/8.4.0/include/node/v8.h:4989:11: error: ‘String’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:4989:11: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:2399:17: note:   ‘v8::String’
/root/.node-gyp/8.4.0/include/node/v8.h:4989:19: error: ‘property’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:4990:5: error: expected primary-expression before ‘const’
/root/.node-gyp/8.4.0/include/node/v8.h:4999:5: error: typedef ‘NamedPropertyDeleterCallback’ is initialized (use decltype instead)
/root/.node-gyp/8.4.0/include/node/v8.h:4999:5: error: ‘Local’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:4999:5: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:112:26: note:   ‘v8::Local’
/root/.node-gyp/8.4.0/include/node/v8.h:4999:11: error: ‘String’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:4999:11: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:2399:17: note:   ‘v8::String’
/root/.node-gyp/8.4.0/include/node/v8.h:4999:19: error: ‘property’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5000:5: error: expected primary-expression before ‘const’
/root/.node-gyp/8.4.0/include/node/v8.h:5008:11: error: ‘PropertyCallbackInfo’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5008:11: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
/root/.node-gyp/8.4.0/include/node/v8.h:5008:31: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5051:5: error: typedef ‘GenericNamedPropertyGetterCallback’ is initialized (use decltype instead)
/root/.node-gyp/8.4.0/include/node/v8.h:5051:5: error: ‘Local’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5051:5: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:112:26: note:   ‘v8::Local’
/root/.node-gyp/8.4.0/include/node/v8.h:5051:11: error: ‘Name’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5051:11: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:2359:17: note:   ‘v8::Name’
/root/.node-gyp/8.4.0/include/node/v8.h:5051:17: error: ‘property’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5051:27: error: expected primary-expression before ‘const’
/root/.node-gyp/8.4.0/include/node/v8.h:5075:5: error: typedef ‘GenericNamedPropertySetterCallback’ is initialized (use decltype instead)
/root/.node-gyp/8.4.0/include/node/v8.h:5075:5: error: ‘Local’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5075:5: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:112:26: note:   ‘v8::Local’
/root/.node-gyp/8.4.0/include/node/v8.h:5075:11: error: ‘Name’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5075:11: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:2359:17: note:   ‘v8::Name’
/root/.node-gyp/8.4.0/include/node/v8.h:5075:17: error: ‘property’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5075:27: error: ‘Local’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5075:27: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:112:26: note:   ‘v8::Local’
/root/.node-gyp/8.4.0/include/node/v8.h:5075:33: error: ‘Value’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5075:33: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:1988:17: note:   ‘v8::Value’
/root/.node-gyp/8.4.0/include/node/v8.h:5075:40: error: ‘value’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5076:5: error: expected primary-expression before ‘const’
/root/.node-gyp/8.4.0/include/node/v8.h:5100:5: error: typedef ‘GenericNamedPropertyQueryCallback’ is initialized (use decltype instead)
/root/.node-gyp/8.4.0/include/node/v8.h:5100:5: error: ‘Local’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5100:5: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:112:26: note:   ‘v8::Local’
/root/.node-gyp/8.4.0/include/node/v8.h:5100:11: error: ‘Name’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5100:11: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:2359:17: note:   ‘v8::Name’
/root/.node-gyp/8.4.0/include/node/v8.h:5100:17: error: ‘property’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5100:27: error: expected primary-expression before ‘const’
/root/.node-gyp/8.4.0/include/node/v8.h:5124:5: error: typedef ‘GenericNamedPropertyDeleterCallback’ is initialized (use decltype instead)
/root/.node-gyp/8.4.0/include/node/v8.h:5124:5: error: ‘Local’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5124:5: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:112:26: note:   ‘v8::Local’
/root/.node-gyp/8.4.0/include/node/v8.h:5124:11: error: ‘Name’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5124:11: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:2359:17: note:   ‘v8::Name’
/root/.node-gyp/8.4.0/include/node/v8.h:5124:17: error: ‘property’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5124:27: error: expected primary-expression before ‘const’
/root/.node-gyp/8.4.0/include/node/v8.h:5132:11: error: ‘PropertyCallbackInfo’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5132:11: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
/root/.node-gyp/8.4.0/include/node/v8.h:5132:31: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5155:5: error: typedef ‘GenericNamedPropertyDefinerCallback’ is initialized (use decltype instead)
/root/.node-gyp/8.4.0/include/node/v8.h:5155:5: error: ‘Local’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5155:5: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:112:26: note:   ‘v8::Local’
/root/.node-gyp/8.4.0/include/node/v8.h:5155:11: error: ‘Name’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5155:11: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:2359:17: note:   ‘v8::Name’
/root/.node-gyp/8.4.0/include/node/v8.h:5155:17: error: ‘property’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5155:27: error: expected primary-expression before ‘const’
/root/.node-gyp/8.4.0/include/node/v8.h:5156:5: error: expected primary-expression before ‘const’
/root/.node-gyp/8.4.0/include/node/v8.h:5178:5: error: typedef ‘GenericNamedPropertyDescriptorCallback’ is initialized (use decltype instead)
/root/.node-gyp/8.4.0/include/node/v8.h:5178:5: error: ‘Local’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5178:5: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:112:26: note:   ‘v8::Local’
/root/.node-gyp/8.4.0/include/node/v8.h:5178:11: error: ‘Name’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5178:11: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:2359:17: note:   ‘v8::Name’
/root/.node-gyp/8.4.0/include/node/v8.h:5178:17: error: ‘property’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5178:27: error: expected primary-expression before ‘const’
/root/.node-gyp/8.4.0/include/node/v8.h:5185:11: error: ‘PropertyCallbackInfo’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5185:11: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
/root/.node-gyp/8.4.0/include/node/v8.h:5185:31: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5192:5: error: ‘Local’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:5192:10: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5200:11: error: ‘PropertyCallbackInfo’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5200:11: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
/root/.node-gyp/8.4.0/include/node/v8.h:5200:31: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5207:11: error: ‘PropertyCallbackInfo’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5207:11: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
/root/.node-gyp/8.4.0/include/node/v8.h:5207:31: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5213:11: error: ‘PropertyCallbackInfo’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5213:11: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
/root/.node-gyp/8.4.0/include/node/v8.h:5213:31: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5219:27: error: ‘PropertyDescriptor’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5219:47: error: ISO C++ forbids declaration of ‘desc’ with no type [-fpermissive]
/root/.node-gyp/8.4.0/include/node/v8.h:5220:11: error: ‘PropertyCallbackInfo’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5220:11: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
/root/.node-gyp/8.4.0/include/node/v8.h:5220:31: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5226:27: error: ‘PropertyCallbackInfo’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5226:27: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
/root/.node-gyp/8.4.0/include/node/v8.h:5226:47: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5244:37: error: typedef ‘AccessCheckCallback’ is initialized (use decltype instead)
/root/.node-gyp/8.4.0/include/node/v8.h:5244:37: error: ‘Local’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5244:37: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:112:26: note:   ‘v8::Local’
/root/.node-gyp/8.4.0/include/node/v8.h:5244:43: error: ‘Context’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5244:43: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:71:7: note:   ‘v8::Context’
/root/.node-gyp/8.4.0/include/node/v8.h:5244:52: error: ‘accessing_context’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5245:37: error: ‘Local’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5245:37: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:112:26: note:   ‘v8::Local’
/root/.node-gyp/8.4.0/include/node/v8.h:5245:43: error: ‘Object’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5245:43: note: suggested alternatives:
/root/.node-gyp/8.4.0/include/node/v8.h:2995:17: note:   ‘v8::Object’
/root/.node-gyp/8.4.0/include/node/v8.h:145:7: note:   ‘v8::internal::Object’
/root/.node-gyp/8.4.0/include/node/v8.h:5245:51: error: ‘accessed_object’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5246:37: error: ‘Local’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5246:37: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:112:26: note:   ‘v8::Local’
/root/.node-gyp/8.4.0/include/node/v8.h:5246:43: error: ‘Value’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5246:43: note: suggested alternative:
/root/.node-gyp/8.4.0/include/node/v8.h:1988:17: note:   ‘v8::Value’
/root/.node-gyp/8.4.0/include/node/v8.h:5246:50: error: ‘data’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h:5350:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5357:10: error: ‘MaybeLocal’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5363:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5369:3: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5370:25: error: ‘MaybeLocal’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5380:25: error: ‘MaybeLocal’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5387:23: error: ‘FunctionCallback’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:5388:23: error: ‘Local’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:5388:28: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5394:3: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5401:16: error: ‘Local’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:5401:21: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5407:3: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5415:37: error: ‘Local’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:5415:42: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5422:21: error: ‘Local’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:5422:26: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5461:20: error: ‘Local’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:5461:25: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5500:42: error: expected ‘)’ before ‘getter’
/root/.node-gyp/8.4.0/include/node/v8.h:5518:42: error: expected ‘)’ before ‘getter’
/root/.node-gyp/8.4.0/include/node/v8.h:5536:3: error: ‘GenericNamedPropertyGetterCallback’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5537:3: error: ‘GenericNamedPropertySetterCallback’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5538:3: error: ‘GenericNamedPropertyQueryCallback’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5539:3: error: ‘GenericNamedPropertyDeleterCallback’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5541:3: error: ‘GenericNamedPropertyDefinerCallback’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5542:3: error: ‘GenericNamedPropertyDescriptorCallback’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5543:3: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5556:7: error: ‘Local’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:5556:12: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5575:7: error: ‘Local’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:5575:12: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5594:3: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5549:3: error: default argument missing for parameter 6 of ‘IndexedPropertyHandlerConfiguration::IndexedPropertyHandlerConfiguration(IndexedPropertyGetterCallback, IndexedPropertySetterCallback, IndexedPropertyQueryCallback, IndexedPropertyDeleterCallback, IndexedPropertyEnumeratorCallback, int)’
/root/.node-gyp/8.4.0/include/node/v8.h: In constructor ‘IndexedPropertyHandlerConfiguration::IndexedPropertyHandlerConfiguration(IndexedPropertyGetterCallback, IndexedPropertySetterCallback, IndexedPropertyQueryCallback, IndexedPropertyDeleterCallback, IndexedPropertyEnumeratorCallback, int)’:
/root/.node-gyp/8.4.0/include/node/v8.h:5565:9: error: class ‘IndexedPropertyHandlerConfiguration’ does not have any field named ‘data’
/root/.node-gyp/8.4.0/include/node/v8.h:5565:14: error: ‘data’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h: In constructor ‘IndexedPropertyHandlerConfiguration::IndexedPropertyHandlerConfiguration(IndexedPropertyGetterCallback, IndexedPropertySetterCallback, IndexedPropertyDescriptorCallback, IndexedPropertyDeleterCallback, IndexedPropertyEnumeratorCallback, IndexedPropertyDefinerCallback, int)’:
/root/.node-gyp/8.4.0/include/node/v8.h:5584:9: error: class ‘IndexedPropertyHandlerConfiguration’ does not have any field named ‘data’
/root/.node-gyp/8.4.0/include/node/v8.h:5584:14: error: ‘data’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h: At global scope:
/root/.node-gyp/8.4.0/include/node/v8.h:5608:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5611:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5614:10: error: ‘MaybeLocal’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5618:3: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5619:25: error: ‘MaybeLocal’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5651:7: error: ‘Local’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:5651:12: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5656:7: error: ‘Local’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:5656:12: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5655:8: error: ‘void ObjectTemplate::SetAccessor(int)’ cannot be overloaded
/root/.node-gyp/8.4.0/include/node/v8.h:5650:8: error: with ‘void ObjectTemplate::SetAccessor(int)’
/root/.node-gyp/8.4.0/include/node/v8.h:5684:32: error: ‘NamedPropertyGetterCallback’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:5685:32: error: ‘NamedPropertySetterCallback’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:5686:32: error: ‘NamedPropertyQueryCallback’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:5687:32: error: ‘NamedPropertyDeleterCallback’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:5689:32: error: ‘Local’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:5689:37: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5727:7: error: ‘Local’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:5727:12: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5750:33: error: ‘FunctionCallback’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:5751:33: error: ‘Local’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:5751:38: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5771:31: error: ‘AccessCheckCallback’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:5772:31: error: ‘Local’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:5772:36: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5781:7: error: ‘AccessCheckCallback’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:5784:7: error: ‘Local’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:5784:12: error: expected ‘,’ or ‘...’ before ‘<’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5811:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5684:8: error: default argument missing for parameter 6 of ‘void ObjectTemplate::SetNamedPropertyHandler(int, int, int, int, NamedPropertyEnumeratorCallback, int)’
/root/.node-gyp/8.4.0/include/node/v8.h:5721:8: error: default argument missing for parameter 6 of ‘void ObjectTemplate::SetIndexedPropertyHandler(IndexedPropertyGetterCallback, IndexedPropertySetterCallback, IndexedPropertyQueryCallback, IndexedPropertyDeleterCallback, IndexedPropertyEnumeratorCallback, int)’
/root/.node-gyp/8.4.0/include/node/v8.h: In member function ‘void ObjectTemplate::SetIndexedPropertyHandler(IndexedPropertyGetterCallback, IndexedPropertySetterCallback, IndexedPropertyQueryCallback, IndexedPropertyDeleterCallback, IndexedPropertyEnumeratorCallback, int)’:
/root/.node-gyp/8.4.0/include/node/v8.h:5729:73: error: ‘data’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h: At global scope:
/root/.node-gyp/8.4.0/include/node/v8.h:5824:41: error: expected class-name before ‘{’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5826:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5839:49: error: expected class-name before ‘{’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5841:10: error: ‘Local’ does not name a type
/root/.node-gyp/8.4.0/include/node/v8.h:5853:14: error: ‘String’ has not been declared
/root/.node-gyp/8.4.0/include/node/v8.h:5853:22: error: expected ‘{’ before ‘ExternalOneByteStringResource’
/root/.node-gyp/8.4.0/include/node/v8.h:5853:52: error: invalid type in declaration before ‘{’ token
/root/.node-gyp/8.4.0/include/node/v8.h:5854:2: error: expected primary-expression before ‘public’
/root/.node-gyp/8.4.0/include/node/v8.h:5854:2: error: expected ‘}’ before ‘public’
/root/.node-gyp/8.4.0/include/node/v8.h:5854:2: error: expected ‘,’ or ‘;’ before ‘public’
/root/.node-gyp/8.4.0/include/node/v8.h:5856:37: error: expected unqualified-id before ‘const’
/root/.node-gyp/8.4.0/include/node/v8.h:5856:37: error: expected ‘)’ before ‘const’
/root/.node-gyp/8.4.0/include/node/v8.h:5858:22: error: non-member function ‘const char* data()’ cannot have cv-qualifier
/root/.node-gyp/8.4.0/include/node/v8.h: In function ‘const char* data()’:
/root/.node-gyp/8.4.0/include/node/v8.h:5858:37: error: ‘data_’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h: At global scope:
/root/.node-gyp/8.4.0/include/node/v8.h:5859:19: error: non-member function ‘size_t length()’ cannot have cv-qualifier
/root/.node-gyp/8.4.0/include/node/v8.h: In function ‘size_t length()’:
/root/.node-gyp/8.4.0/include/node/v8.h:5859:34: error: ‘length_’ was not declared in this scope
/root/.node-gyp/8.4.0/include/node/v8.h: At global scope:
/root/.node-gyp/8.4.0/include/node/v8.h:5861:2: error: expected unqualified-id before ‘private’
/root/.node-gyp/8.4.0/include/node/v8.h:5864:1: error: expected declaration before ‘}’ token
/root/.node-gyp/8.4.0/include/node/v8.h:3261:19: warning: inline function ‘void* v8::Object::GetAlignedPointerFromInternalField(int)’ used but never defined [enabled by default]
/root/.node-gyp/8.4.0/include/node/v8.h: In function ‘size_t length()’:
/root/.node-gyp/8.4.0/include/node/v8.h:5859:43: warning: control reaches end of non-void function [-Wreturn-type]
/root/.node-gyp/8.4.0/include/node/v8.h: In function ‘const char* data()’:
/root/.node-gyp/8.4.0/include/node/v8.h:5858:44: warning: control reaches end of non-void function [-Wreturn-type]
make: *** [Release/obj.target/node_sqlite3/src/database.o] Error 1
make: Leaving directory `/var/www/website/node_modules/sqlite3/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:125:13)
gyp ERR! stack     at ChildProcess.emit (events.js:213:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 3.2.0-24-virtual
gyp ERR! command "/root/.nvm/versions/node/v8.4.0/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/var/www/website/node_modules/sqlite3/lib/binding/node-v57-linux-ia32/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/var/www/website/node_modules/sqlite3/lib/binding/node-v57-linux-ia32"
gyp ERR! cwd /var/www/website/node_modules/sqlite3
gyp ERR! node -v v8.4.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/root/.nvm/versions/node/v8.4.0/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/var/www/website/node_modules/sqlite3/lib/binding/node-v57-linux-ia32/node_sqlite3.node --module_name=node_sqlite3 --module_path=/var/www/website/node_modules/sqlite3/lib/binding/node-v57-linux-ia32' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/var/www/website/node_modules/sqlite3/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at emitTwo (events.js:125:13)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:213:7)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:927:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
node-pre-gyp ERR! System Linux 3.2.0-24-virtual
node-pre-gyp ERR! command "/root/.nvm/versions/node/v8.4.0/bin/node" "/var/www/website/node_modules/sqlite3/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /var/www/website/node_modules/sqlite3
node-pre-gyp ERR! node -v v8.4.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.38
node-pre-gyp ERR! not ok
Failed to execute '/root/.nvm/versions/node/v8.4.0/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/var/www/website/node_modules/sqlite3/lib/binding/node-v57-linux-ia32/node_sqlite3.node --module_name=node_sqlite3 --module_path=/var/www/website/node_modules/sqlite3/lib/binding/node-v57-linux-ia32' (1)
npm WARN server@1.0.0 No description
npm WARN server@1.0.0 No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sqlite3@3.1.13 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sqlite3@3.1.13 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
@miguelmota
Copy link
Author

Had to update g++ to version 5+

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-5 g++-5

and installing sqlite3 works now.

@devuxer
Copy link

devuxer commented Mar 30, 2018

Likely duplicates: #901, #902, #918, #931, #933.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants