Comments (13)
Thank you for your support ) I
from aws-utils.
I would recommend installing @conduitvc/dynamodb-emulator
first.
appsync-emulator-serverless
depends on dynamodb-emulator
, which depends on the download-cli
module. What seems to be happening is that the preinstall script is runs before the dependencies are installed (which makes sense, and might be the source of the bug).
Let me know if that helps.
from aws-utils.
@newswim I forgot to mention that yes, I was trying to install @conduitvc/dynamodb-emulator
but with same result:
set@set-home ~/www/cloudbeds/ens $ npm install @conduitvc/dynamodb-emulator
> @conduitvc/[email protected] preinstall /home/set/www/cloudbeds/ens/node_modules/@conduitvc/dynamodb-emulator
> ./download.sh
+ download --extract -o emulator https://s3-us-west-2.amazonaws.com/dynamodb-local/dynamodb_local_latest.zip
./download.sh: line 3: download: command not found
npm WARN [email protected] requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of eslint@^4.19.1 but none is installed. You must install peer dependencies yourself.
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! @conduitvc/[email protected] preinstall: `./download.sh`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the @conduitvc/[email protected] preinstall 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/set/.npm/_logs/2018-08-30T07_10_14_642Z-debug.log
does it make any sence to change preinstall
to install
in dynamodb-emulator
package.json as then it will try to execute ./download
script after the package is installed when script does exist?
from aws-utils.
I would give that a shot. I can't see a good reason for the preinstall
step, other than ensuring that it only runs once. Another option would be to just install the download
module globally:
npm install -g download
I imagine this is what the original author had done.
Thanks for reporting this. If you do change preinstall
to postinstall
, I'd be curious if that resolves the issue.
from aws-utils.
Definitely a bug ! Working on a fix
from aws-utils.
@SET001 Thanks for trying it out and reporting issues! I believe i've fixed this particular issue in version 0.6.7
...
Take a look at https://github.com/ConduitVC/appsync-serverless-emulator-example if you want a quick starter to the emulator. Please report anything else you run into! We will take care of it.
from aws-utils.
While the dynamodb-emulator install correctly now, I still can't install appsync-emulator itself:
set@set-home ~/www/cloudbeds/ens $ npm install @conduitvc/appsync-emulator-serverless --save-dev
npm WARN deprecated [email protected]: Please upgrade to 2.2.19 or higher
npm WARN deprecated [email protected]: Use uuid module instead
> [email protected] install /home/set/www/cloudbeds/ens/node_modules/kerberos
> (node-gyp rebuild) || (exit 0)
make: Entering directory `/home/set/www/cloudbeds/ens/node_modules/kerberos/build'
CXX(target) Release/obj.target/kerberos/lib/kerberos.o
In file included from ../lib/kerberos.cc:1:0:
../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory
#include <gssapi/gssapi.h>
^
compilation terminated.
make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1
make: Leaving directory `/home/set/www/cloudbeds/ens/node_modules/kerberos/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/set/.nvm/versions/node/v10.4.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
gyp ERR! System Linux 4.4.0-121-generic
gyp ERR! command "/home/set/.nvm/versions/node/v10.4.1/bin/node" "/home/set/.nvm/versions/node/v10.4.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/set/www/cloudbeds/ens/node_modules/kerberos
gyp ERR! node -v v10.4.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
> [email protected] install /home/set/www/cloudbeds/ens/node_modules/qlobber-fsq/node_modules/fs-ext
> node-gyp configure build
make: Entering directory `/home/set/www/cloudbeds/ens/node_modules/qlobber-fsq/node_modules/fs-ext/build'
CXX(target) Release/obj.target/fs-ext/fs-ext.o
../fs-ext.cc: In function ‘void EIO_After(uv_work_t*)’:
../fs-ext.cc:108:20: warning: ‘v8::Local<v8::Value> Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated (declared at ../../../../nan/nan.h:1034) [-Wdeprecated-declarations]
argv[0] = Nan::NanErrnoException(store_data->error);
^
../fs-ext.cc:108:55: warning: ‘v8::Local<v8::Value> Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated (declared at ../../../../nan/nan.h:1034) [-Wdeprecated-declarations]
argv[0] = Nan::NanErrnoException(store_data->error);
^
../fs-ext.cc:153:34: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1647) [-Wdeprecated-declarations]
store_data->cb->Call(argc, argv);
^
../fs-ext.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flock(Nan::NAN_METHOD_ARGS_TYPE)’:
../fs-ext.cc:297:45: warning: ‘v8::Local<v8::Value> Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated (declared at ../../../../nan/nan.h:1034) [-Wdeprecated-declarations]
if (i != 0) return Nan::ThrowError(Nan::NanErrnoException(errno));
^
../fs-ext.cc:297:68: warning: ‘v8::Local<v8::Value> Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated (declared at ../../../../nan/nan.h:1034) [-Wdeprecated-declarations]
if (i != 0) return Nan::ThrowError(Nan::NanErrnoException(errno));
^
../fs-ext.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Seek(Nan::NAN_METHOD_ARGS_TYPE)’:
../fs-ext.cc:339:56: warning: ‘v8::Local<v8::Value> Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated (declared at ../../../../nan/nan.h:1034) [-Wdeprecated-declarations]
if (offs_result == -1) return Nan::ThrowError(Nan::NanErrnoException(errno));
^
../fs-ext.cc:339:79: warning: ‘v8::Local<v8::Value> Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated (declared at ../../../../nan/nan.h:1034) [-Wdeprecated-declarations]
if (offs_result == -1) return Nan::ThrowError(Nan::NanErrnoException(errno));
^
../fs-ext.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Fcntl(Nan::NAN_METHOD_ARGS_TYPE)’:
../fs-ext.cc:375:51: warning: ‘v8::Local<v8::Value> Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated (declared at ../../../../nan/nan.h:1034) [-Wdeprecated-declarations]
if (result == -1) return Nan::ThrowError(Nan::NanErrnoException(errno));
^
../fs-ext.cc:375:74: warning: ‘v8::Local<v8::Value> Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated (declared at ../../../../nan/nan.h:1034) [-Wdeprecated-declarations]
if (result == -1) return Nan::ThrowError(Nan::NanErrnoException(errno));
^
../fs-ext.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE UTime(Nan::NAN_METHOD_ARGS_TYPE)’:
../fs-ext.cc:423:45: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated (declared at /home/set/.node-gyp/10.4.1/include/node/v8.h:2845): Use Isolate version [-Wdeprecated-declarations]
String::Utf8Value path(info[0]->ToString());
^
../fs-ext.cc:433:47: warning: ‘v8::Local<v8::Value> Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated (declared at ../../../../nan/nan.h:1034) [-Wdeprecated-declarations]
if (ret != 0) return Nan::ThrowError(Nan::NanErrnoException(errno, "utime", "", *path));
^
../fs-ext.cc:433:90: warning: ‘v8::Local<v8::Value> Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated (declared at ../../../../nan/nan.h:1034) [-Wdeprecated-declarations]
if (ret != 0) return Nan::ThrowError(Nan::NanErrnoException(errno, "utime", "", *path));
^
../fs-ext.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE StatVFS(Nan::NAN_METHOD_ARGS_TYPE)’:
../fs-ext.cc:462:45: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated (declared at /home/set/.node-gyp/10.4.1/include/node/v8.h:2845): Use Isolate version [-Wdeprecated-declarations]
String::Utf8Value path(info[0]->ToString());
^
../fs-ext.cc:469:47: warning: ‘v8::Local<v8::Value> Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated (declared at ../../../../nan/nan.h:1034) [-Wdeprecated-declarations]
if (ret != 0) return Nan::ThrowError(Nan::NanErrnoException(errno, "statvfs", "", *path));
^
../fs-ext.cc:469:92: warning: ‘v8::Local<v8::Value> Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated (declared at ../../../../nan/nan.h:1034) [-Wdeprecated-declarations]
if (ret != 0) return Nan::ThrowError(Nan::NanErrnoException(errno, "statvfs", "", *path));
^
SOLINK_MODULE(target) Release/obj.target/fs-ext.node
COPY Release/fs-ext.node
make: Leaving directory `/home/set/www/cloudbeds/ens/node_modules/qlobber-fsq/node_modules/fs-ext/build'
> [email protected] install /home/set/www/cloudbeds/ens/node_modules/snappy
> node-gyp rebuild
make: Entering directory `/home/set/www/cloudbeds/ens/node_modules/snappy/build'
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.2/snappy-sinksource.o
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.2/snappy-stubs-internal.o
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.2/snappy.o
AR(target) Release/obj.target/deps/snappy/snappy.a
COPY Release/snappy.a
CXX(target) Release/obj.target/binding/src/binding.o
In file included from ../node_modules/nan/nan.h:190:0,
from ../src/./binding.h:6,
from ../src/binding.cc:1:
../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
return obj->ForceSet(GetCurrentContext(), key, value, attribs);
^
In file included from ../src/./binding.h:6:0,
from ../src/binding.cc:1:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated (declared at /home/set/.node-gyp/10.4.1/include/node/node.h:171): Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, func, argc, argv);
^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated (declared at /home/set/.node-gyp/10.4.1/include/node/node.h:164): Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, symbol, argc, argv);
^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated (declared at /home/set/.node-gyp/10.4.1/include/node/node.h:157): Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, method, argc, argv);
^
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated (declared at /home/set/.node-gyp/10.4.1/include/node/node.h:171): Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
));
^
../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodesnappy::Compress(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/binding.cc:121:53: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated (declared at /home/set/.node-gyp/10.4.1/include/node/v8.h:2845): Use Isolate version [-Wdeprecated-declarations]
v8::String::Utf8Value param1(info[0]->ToString());
^
../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodesnappy::CompressSync(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/binding.cc:148:53: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated (declared at /home/set/.node-gyp/10.4.1/include/node/v8.h:2845): Use Isolate version [-Wdeprecated-declarations]
v8::String::Utf8Value param1(info[0]->ToString());
^
make: *** [Release/obj.target/binding/src/binding.o] Error 1
make: Leaving directory `/home/set/www/cloudbeds/ens/node_modules/snappy/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/set/.nvm/versions/node/v10.4.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
gyp ERR! System Linux 4.4.0-121-generic
gyp ERR! command "/home/set/.nvm/versions/node/v10.4.1/bin/node" "/home/set/.nvm/versions/node/v10.4.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/set/www/cloudbeds/ens/node_modules/snappy
gyp ERR! node -v v10.4.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
> [email protected] install /home/set/www/cloudbeds/ens/node_modules/leveldown
> prebuild --install
prebuild info begin Prebuild version 4.5.0
prebuild info looking for local prebuild @ prebuilds/leveldown-v1.4.6-node-v64-linux-x64.tar.gz
prebuild info looking for cached prebuild @ /home/set/.npm/_prebuilds/https-github.com-level-leveldown-releases-download-v1.4.6-leveldown-v1.4.6-node-v64-linux-x64.tar.gz
prebuild http request GET https://github.com/level/leveldown/releases/download/v1.4.6/leveldown-v1.4.6-node-v64-linux-x64.tar.gz
prebuild http 404 https://github.com/level/leveldown/releases/download/v1.4.6/leveldown-v1.4.6-node-v64-linux-x64.tar.gz
prebuild WARN install No prebuilt binaries found (target=v10.4.1 arch=x64 platform=linux)
prebuild info install We will now try to compile from source.
prebuild verb starting node-gyp process
prebuild verb execute node-gyp with `node index.js rebuild --target=v10.4.1 --target_arch=x64`
prebuild verb command rebuild []
prebuild verb ok
prebuild verb command clean []
prebuild verb clean removing "build" directory
prebuild verb ok
prebuild verb command configure []
prebuild verb check python checking for Python executable "python2" in the PATH
prebuild verb `which` succeeded python2 /usr/bin/python2
prebuild verb check python version `/usr/bin/python2 -c "import platform; print(platform.python_version());"` returned: "2.7.6\n"
prebuild verb get node dir no --target version specified, falling back to host node version: 10.4.1
prebuild verb command install [ '10.4.1' ]
prebuild verb install input version string "10.4.1"
prebuild verb install installing version: 10.4.1
prebuild verb install --ensure was passed, so won't reinstall if already installed
prebuild verb install version is already installed, need to check "installVersion"
prebuild verb got "installVersion" 9
prebuild verb needs "installVersion" 9
prebuild verb install version is good
prebuild verb get node dir target node version installed: 10.4.1
prebuild verb build dir attempting to create "build" dir: /home/set/www/cloudbeds/ens/node_modules/leveldown/build
prebuild verb build dir "build" dir needed to be created? /home/set/www/cloudbeds/ens/node_modules/leveldown/build
prebuild verb build/config.gypi creating config file
prebuild sill build/config.gypi { target_defaults:
prebuild sill build/config.gypi { cflags: [],
prebuild sill build/config.gypi default_configuration: 'Release',
prebuild sill build/config.gypi defines: [],
prebuild sill build/config.gypi include_dirs: [],
prebuild sill build/config.gypi libraries: [] },
prebuild sill build/config.gypi variables:
prebuild sill build/config.gypi { asan: 0,
prebuild sill build/config.gypi build_v8_with_gn: false,
prebuild sill build/config.gypi coverage: false,
prebuild sill build/config.gypi debug_nghttp2: false,
prebuild sill build/config.gypi force_dynamic_crt: 0,
prebuild sill build/config.gypi gas_version: '2.27',
prebuild sill build/config.gypi host_arch: 'x64',
prebuild sill build/config.gypi icu_data_in: '../../deps/icu-small/source/data/in/icudt61l.dat',
prebuild sill build/config.gypi icu_endianness: 'l',
prebuild sill build/config.gypi icu_gyp_path: 'tools/icu/icu-generic.gyp',
prebuild sill build/config.gypi icu_locales: 'en,root',
prebuild sill build/config.gypi icu_path: 'deps/icu-small',
prebuild sill build/config.gypi icu_small: true,
prebuild sill build/config.gypi icu_ver_major: '61',
prebuild sill build/config.gypi llvm_version: 0,
prebuild sill build/config.gypi node_byteorder: 'little',
prebuild sill build/config.gypi node_debug_lib: false,
prebuild sill build/config.gypi node_enable_d8: false,
prebuild sill build/config.gypi node_enable_v8_vtunejit: false,
prebuild sill build/config.gypi node_install_npm: true,
prebuild sill build/config.gypi node_module_version: 64,
prebuild sill build/config.gypi node_no_browser_globals: false,
prebuild sill build/config.gypi node_prefix: '/',
prebuild sill build/config.gypi node_release_urlbase: 'https://nodejs.org/download/release/',
prebuild sill build/config.gypi node_shared: false,
prebuild sill build/config.gypi node_shared_cares: false,
prebuild sill build/config.gypi node_shared_http_parser: false,
prebuild sill build/config.gypi node_shared_libuv: false,
prebuild sill build/config.gypi node_shared_nghttp2: false,
prebuild sill build/config.gypi node_shared_openssl: false,
prebuild sill build/config.gypi node_shared_zlib: false,
prebuild sill build/config.gypi node_tag: '',
prebuild sill build/config.gypi node_target_type: 'executable',
prebuild sill build/config.gypi node_use_bundled_v8: true,
prebuild sill build/config.gypi node_use_dtrace: false,
prebuild sill build/config.gypi node_use_etw: false,
prebuild sill build/config.gypi node_use_openssl: true,
prebuild sill build/config.gypi node_use_perfctr: false,
prebuild sill build/config.gypi node_use_v8_platform: true,
prebuild sill build/config.gypi node_without_node_options: false,
prebuild sill build/config.gypi openssl_fips: '',
prebuild sill build/config.gypi openssl_no_asm: 0,
prebuild sill build/config.gypi shlib_suffix: 'so.64',
prebuild sill build/config.gypi target_arch: 'x64',
prebuild sill build/config.gypi v8_enable_gdbjit: 0,
prebuild sill build/config.gypi v8_enable_i18n_support: 1,
prebuild sill build/config.gypi v8_enable_inspector: 1,
prebuild sill build/config.gypi v8_no_strict_aliasing: 1,
prebuild sill build/config.gypi v8_optimized_debug: 0,
prebuild sill build/config.gypi v8_promise_internal_field_count: 1,
prebuild sill build/config.gypi v8_random_seed: 0,
prebuild sill build/config.gypi v8_trace_maps: 0,
prebuild sill build/config.gypi v8_typed_array_max_size_in_heap: 0,
prebuild sill build/config.gypi v8_use_snapshot: true,
prebuild sill build/config.gypi want_separate_host_toolset: 0,
prebuild sill build/config.gypi nodedir: '/home/set/.node-gyp/10.4.1',
prebuild sill build/config.gypi copy_dev_lib: true,
prebuild sill build/config.gypi standalone_static_library: 1,
prebuild sill build/config.gypi target: 'v10.4.1',
prebuild sill build/config.gypi cache_lock_stale: '60000',
prebuild sill build/config.gypi ham_it_up: '',
prebuild sill build/config.gypi legacy_bundling: '',
prebuild sill build/config.gypi sign_git_tag: '',
prebuild sill build/config.gypi user_agent: 'npm/6.1.0 node/v10.4.1 linux x64',
prebuild sill build/config.gypi always_auth: '',
prebuild sill build/config.gypi bin_links: 'true',
prebuild sill build/config.gypi key: '',
prebuild sill build/config.gypi allow_same_version: '',
prebuild sill build/config.gypi description: 'true',
prebuild sill build/config.gypi fetch_retries: '2',
prebuild sill build/config.gypi heading: 'npm',
prebuild sill build/config.gypi if_present: '',
prebuild sill build/config.gypi init_version: '1.0.0',
prebuild sill build/config.gypi user: '1000',
prebuild sill build/config.gypi prefer_online: '',
prebuild sill build/config.gypi force: '',
prebuild sill build/config.gypi only: '',
prebuild sill build/config.gypi read_only: '',
prebuild sill build/config.gypi cache_min: '10',
prebuild sill build/config.gypi init_license: 'ISC',
prebuild sill build/config.gypi editor: 'vi',
prebuild sill build/config.gypi rollback: 'true',
prebuild sill build/config.gypi tag_version_prefix: 'v',
prebuild sill build/config.gypi cache_max: 'Infinity',
prebuild sill build/config.gypi timing: '',
prebuild sill build/config.gypi userconfig: '/home/set/.npmrc',
prebuild sill build/config.gypi engine_strict: '',
prebuild sill build/config.gypi init_author_name: '',
prebuild sill build/config.gypi init_author_url: '',
prebuild sill build/config.gypi tmp: '/tmp',
prebuild sill build/config.gypi save_dev: 'true',
prebuild sill build/config.gypi depth: 'Infinity',
prebuild sill build/config.gypi package_lock_only: '',
prebuild sill build/config.gypi usage: '',
prebuild sill build/config.gypi metrics_registry: 'https://registry.npmjs.org/',
prebuild sill build/config.gypi otp: '',
prebuild sill build/config.gypi package_lock: 'true',
prebuild sill build/config.gypi progress: 'true',
prebuild sill build/config.gypi https_proxy: '',
prebuild sill build/config.gypi save_prod: '',
prebuild sill build/config.gypi audit: 'true',
prebuild sill build/config.gypi cidr: '',
prebuild sill build/config.gypi onload_script: '',
prebuild sill build/config.gypi sso_type: 'oauth',
prebuild sill build/config.gypi rebuild_bundle: 'true',
prebuild sill build/config.gypi save_bundle: '',
prebuild sill build/config.gypi shell: '/bin/bash',
prebuild sill build/config.gypi dry_run: '',
prebuild sill build/config.gypi prefix: '/home/set/.nvm/versions/node/v10.4.1',
prebuild sill build/config.gypi scope: '',
prebuild sill build/config.gypi browser: '',
prebuild sill build/config.gypi cache_lock_wait: '10000',
prebuild sill build/config.gypi ignore_prepublish: '',
prebuild sill build/config.gypi registry: 'https://registry.npmjs.org/',
prebuild sill build/config.gypi save_optional: '',
prebuild sill build/config.gypi searchopts: '',
prebuild sill build/config.gypi versions: '',
prebuild sill build/config.gypi cache: '/home/set/.npm',
prebuild sill build/config.gypi send_metrics: '',
prebuild sill build/config.gypi global_style: '',
prebuild sill build/config.gypi ignore_scripts: '',
prebuild sill build/config.gypi version: '',
prebuild sill build/config.gypi local_address: '',
prebuild sill build/config.gypi viewer: 'man',
prebuild sill build/config.gypi node_gyp:
prebuild sill build/config.gypi '/home/set/.nvm/versions/node/v10.4.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
prebuild sill build/config.gypi prefer_offline: '',
prebuild sill build/config.gypi color: 'true',
prebuild sill build/config.gypi no_proxy: '',
prebuild sill build/config.gypi fetch_retry_mintimeout: '10000',
prebuild sill build/config.gypi maxsockets: '50',
prebuild sill build/config.gypi offline: '',
prebuild sill build/config.gypi sso_poll_frequency: '500',
prebuild sill build/config.gypi umask: '0022',
prebuild sill build/config.gypi fetch_retry_maxtimeout: '60000',
prebuild sill build/config.gypi logs_max: '10',
prebuild sill build/config.gypi message: '%s',
prebuild sill build/config.gypi ca: '',
prebuild sill build/config.gypi cert: '',
prebuild sill build/config.gypi global: '',
prebuild sill build/config.gypi link: '',
prebuild sill build/config.gypi access: '',
prebuild sill build/config.gypi also: '',
prebuild sill build/config.gypi save: 'true',
prebuild sill build/config.gypi unicode: 'true',
prebuild sill build/config.gypi long: '',
prebuild sill build/config.gypi production: '',
prebuild sill build/config.gypi searchlimit: '20',
prebuild sill build/config.gypi unsafe_perm: 'true',
prebuild sill build/config.gypi auth_type: 'legacy',
prebuild sill build/config.gypi node_version: '10.4.1',
prebuild sill build/config.gypi tag: 'latest',
prebuild sill build/config.gypi git_tag_version: 'true',
prebuild sill build/config.gypi commit_hooks: 'true',
prebuild sill build/config.gypi script_shell: '',
prebuild sill build/config.gypi shrinkwrap: 'true',
prebuild sill build/config.gypi fetch_retry_factor: '10',
prebuild sill build/config.gypi save_exact: '',
prebuild sill build/config.gypi strict_ssl: 'true',
prebuild sill build/config.gypi dev: '',
prebuild sill build/config.gypi globalconfig: '/home/set/.nvm/versions/node/v10.4.1/etc/npmrc',
prebuild sill build/config.gypi init_module: '/home/set/.npm-init.js',
prebuild sill build/config.gypi parseable: '',
prebuild sill build/config.gypi globalignorefile: '/home/set/.nvm/versions/node/v10.4.1/etc/npmignore',
prebuild sill build/config.gypi cache_lock_retries: '10',
prebuild sill build/config.gypi searchstaleness: '900',
prebuild sill build/config.gypi node_options: '',
prebuild sill build/config.gypi save_prefix: '^',
prebuild sill build/config.gypi scripts_prepend_node_path: 'warn-only',
prebuild sill build/config.gypi group: '1000',
prebuild sill build/config.gypi init_author_email: '',
prebuild sill build/config.gypi searchexclude: '',
prebuild sill build/config.gypi git: 'git',
prebuild sill build/config.gypi optional: 'true',
prebuild sill build/config.gypi json: '' } }
prebuild verb build/config.gypi writing out config file: /home/set/www/cloudbeds/ens/node_modules/leveldown/build/config.gypi
prebuild verb config.gypi checking for gypi file: /home/set/www/cloudbeds/ens/node_modules/leveldown/config.gypi
prebuild verb common.gypi checking for gypi file: /home/set/www/cloudbeds/ens/node_modules/leveldown/common.gypi
prebuild verb gyp gyp format was not specified; forcing "make"
prebuild info spawn /usr/bin/python2
prebuild info spawn args [ '/home/set/www/cloudbeds/ens/node_modules/node-gyp/gyp/gyp_main.py',
prebuild info spawn args 'binding.gyp',
prebuild info spawn args '-f',
prebuild info spawn args 'make',
prebuild info spawn args '-I',
prebuild info spawn args '/home/set/www/cloudbeds/ens/node_modules/leveldown/build/config.gypi',
prebuild info spawn args '-I',
prebuild info spawn args '/home/set/www/cloudbeds/ens/node_modules/node-gyp/addon.gypi',
prebuild info spawn args '-I',
prebuild info spawn args '/home/set/.node-gyp/10.4.1/include/node/common.gypi',
prebuild info spawn args '-Dlibrary=shared_library',
prebuild info spawn args '-Dvisibility=default',
prebuild info spawn args '-Dnode_root_dir=/home/set/.node-gyp/10.4.1',
prebuild info spawn args '-Dnode_gyp_dir=/home/set/www/cloudbeds/ens/node_modules/node-gyp',
prebuild info spawn args '-Dnode_lib_file=node.lib',
prebuild info spawn args '-Dmodule_root_dir=/home/set/www/cloudbeds/ens/node_modules/leveldown',
prebuild info spawn args '--depth=.',
prebuild info spawn args '--no-parallel',
prebuild info spawn args '--generator-output',
prebuild info spawn args 'build',
prebuild info spawn args '-Goutput_dir=.' ]
prebuild verb ok
prebuild verb command build []
prebuild verb build type Release
prebuild verb architecture x64
prebuild verb node dev dir /home/set/.node-gyp/10.4.1
prebuild verb `which` succeeded for `make` /usr/bin/make
prebuild info spawn make
prebuild info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory `/home/set/www/cloudbeds/ens/node_modules/leveldown/build'
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/builder.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/db_impl.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/db_iter.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/filename.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/dbformat.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/leveldb_main.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/log_reader.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/log_writer.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/memtable.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/repair.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/table_cache.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/version_edit.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/version_set.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/write_batch.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/helpers/memenv/memenv.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/table/block.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/table/block_builder.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/table/filter_block.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/table/format.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/table/iterator.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/table/merger.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/table/table.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/table/table_builder.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/table/two_level_iterator.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/arena.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/bloom.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/cache.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/coding.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/comparator.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/crc32c.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/env.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/filter_policy.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/hash.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/logging.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/options.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/status.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/port/port_posix.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/env_posix.o
AR(target) Release/obj.target/deps/leveldb/leveldb.a
COPY Release/leveldb.a
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.1/snappy-sinksource.o
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.1/snappy-stubs-internal.o
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.1/snappy.o
AR(target) Release/obj.target/deps/snappy/snappy.a
COPY Release/snappy.a
CXX(target) Release/obj.target/leveldown/src/batch.o
In file included from ../node_modules/nan/nan.h:190:0,
from ../src/batch.cc:3:
../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
return obj->ForceSet(GetCurrentContext(), key, value, attribs);
^
In file included from ../src/batch.cc:3:0:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated (declared at /home/set/.node-gyp/10.4.1/include/node/node.h:171): Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, func, argc, argv);
^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated (declared at /home/set/.node-gyp/10.4.1/include/node/node.h:164): Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, symbol, argc, argv);
^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated (declared at /home/set/.node-gyp/10.4.1/include/node/node.h:157): Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, method, argc, argv);
^
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated (declared at /home/set/.node-gyp/10.4.1/include/node/node.h:171): Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
));
^
../src/batch.cc: In static member function ‘static v8::Local<v8::Value> leveldown::Batch::NewInstance(v8::Local<v8::Object>, v8::Local<v8::Object>)’:
../src/batch.cc:71:69: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Local<v8::Value> [1])’
instance = constructorHandle->GetFunction()->NewInstance(1, argv);
^
../src/batch.cc:71:69: note: candidates are:
In file included from /home/set/.node-gyp/10.4.1/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/set/.node-gyp/10.4.1/include/node/v8.h:3905:44: note: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^
/home/set/.node-gyp/10.4.1/include/node/v8.h:3905:44: note: candidate expects 3 arguments, 2 provided
/home/set/.node-gyp/10.4.1/include/node/v8.h:3908:44: note: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^
/home/set/.node-gyp/10.4.1/include/node/v8.h:3908:44: note: candidate expects 1 argument, 2 provided
../src/batch.cc:74:69: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Local<v8::Value> [2])’
instance = constructorHandle->GetFunction()->NewInstance(2, argv);
^
../src/batch.cc:74:69: note: candidates are:
In file included from /home/set/.node-gyp/10.4.1/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/set/.node-gyp/10.4.1/include/node/v8.h:3905:44: note: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^
/home/set/.node-gyp/10.4.1/include/node/v8.h:3905:44: note: candidate expects 3 arguments, 2 provided
/home/set/.node-gyp/10.4.1/include/node/v8.h:3908:44: note: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^
/home/set/.node-gyp/10.4.1/include/node/v8.h:3908:44: note: candidate expects 1 argument, 2 provided
make: *** [Release/obj.target/leveldown/src/batch.o] Error 1
make: Leaving directory `/home/set/www/cloudbeds/ens/node_modules/leveldown/build'
prebuild ERR! build error
prebuild ERR! stack Error: `make` failed with exit code: 2
prebuild ERR! stack at ChildProcess.onExit (/home/set/www/cloudbeds/ens/node_modules/node-gyp/lib/build.js:276:23)
prebuild ERR! stack at ChildProcess.emit (events.js:182:13)
prebuild ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
prebuild ERR! not ok
prebuild ERR! build Error: `make` failed with exit code: 2
prebuild ERR! build at ChildProcess.onExit (/home/set/www/cloudbeds/ens/node_modules/node-gyp/lib/build.js:276:23)
prebuild ERR! build at ChildProcess.emit (events.js:182:13)
prebuild ERR! build at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
> [email protected] install /home/set/www/cloudbeds/ens/node_modules/zmq
> node-gyp rebuild
make: Entering directory `/home/set/www/cloudbeds/ens/node_modules/zmq/build'
CXX(target) Release/obj.target/zmq/binding.o
../binding.cc:28:17: fatal error: zmq.h: No such file or directory
#include <zmq.h>
^
compilation terminated.
make: *** [Release/obj.target/zmq/binding.o] Error 1
make: Leaving directory `/home/set/www/cloudbeds/ens/node_modules/zmq/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/set/.nvm/versions/node/v10.4.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
gyp ERR! System Linux 4.4.0-121-generic
gyp ERR! command "/home/set/.nvm/versions/node/v10.4.1/bin/node" "/home/set/.nvm/versions/node/v10.4.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/set/www/cloudbeds/ens/node_modules/zmq
gyp ERR! node -v v10.4.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
> [email protected] postinstall /home/set/www/cloudbeds/ens/node_modules/ngrok
> node ./postinstall.js
ngrok - cached download found at /home/set/.ngrok/aHR0cHM6Ly9iaW4uZXF1aW5veC5pby9jLzRWbUR6QTdpYUhiL25ncm9rLXN0YWJsZS1saW51eC1hbWQ2NC56aXA=.zip
ngrok - unpacking binary
ngrok - binary unpacked to /home/set/www/cloudbeds/ens/node_modules/ngrok/bin/ngrok
npm WARN [email protected] requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of eslint@^4.19.1 but none is installed. You must install peer dependencies yourself.
npm WARN @conduitvc/[email protected] requires a peer of aws-appsync@>= 1 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/snappy):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/leveldown):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `prebuild --install`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 2
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/zmq):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
+ @conduitvc/[email protected]
added 248 packages from 284 contributors, moved 1 package and audited 7523 packages in 63.344s
found 0 vulnerabilities
╭───────────────────────────────────────────────────────────────╮
│ │
│ New minor version of npm available! 6.1.0 → 6.4.1 │
│ Changelog: https://github.com/npm/npm/releases/tag/v6.4.1 │
│ Run npm install -g npm to update! │
│ │
╰───────────────────────────────────────────────────────────────╯
from aws-utils.
@SET001, while there were a lot of not ok
lines of output. It looks like the emulator may in fact have been installed.
+ @conduitvc/[email protected]
What happens when you do the following?
cd /home/set/www/cloudbeds/ens
./node_modules/.bin/appsync-emulator --port 3000
Also, I would like to make a note that most of the current development has been on node v8 and v9. It looks like you're using node v10, so while we definitely want to support version 10, there may be some extra issues we'll encounter at this time.
from aws-utils.
it does installs and seems to be working, but those errors are missleading. Also after I installed emulator, now I'm getting this errors every time I'm installing any new npm package. This is a great inconvenience since except for errors it is also increases installation time of any package in about 10 times. How does this can be related?
from aws-utils.
Hmm, its unclear without more information. Be sure that we are working on utilizing an improved dependency chain.
To decrease install time, checkout yarn instead of npm as yarn uses a local cache.
I would suggest clearing npm's cache, removing node_modules
and trying to install everything from a fresh state. Feel free to post more information for help on a specific error.
from aws-utils.
I tried rm -rf node_modules/ package-lock.json
and then yarn
. Still getting all those errors that are in my first post and still getting them while installing any new packages (with yarn or npm)
from aws-utils.
If I switch to node 8.4 the errors are different.
Here, for instance, I'm trying to install 2 packages after I have installed emulator. And getting this errors. The libraries are lodash and underscore, both hase nothing to do with any apollo and graphql things which are present in error messages:
set@set-home ~/www/cloudbeds/emulatorTest $ yarn add lodash
yarn add v1.9.4
[1/4] Resolving packages...
[2/4] Fetching packages...
warning Pattern ["lodash@^4.17.10"] is trying to unpack in the same destination "/home/set/.cache/yarn/v2/npm-lodash-4.17.10-1b7793cf7259ea38fb3661d4d38b3260af8ae4e7" as pattern ["lodash@^4.17.5","lodash@^4.13.1","lodash@^4.0.0","lodash@^4.8.0","lodash@^4.8.2","lodash@^4.13.1","lodash@^4.8.0","lodash@^4.17.10","lodash@^4.8.0","lodash@^4.11.1","lodash@^4.3.0","lodash@^4.2.1","lodash@^4.17.4","lodash@^4.17.4","lodash@^4.17.4","lodash@^4.17.4","lodash@^4.17.4","lodash@^4.17.4","lodash@^4.17.4","lodash@^4.17.4","lodash@^4.17.4","lodash@^4.17.4","lodash@^4.17.4","lodash@^4.17.5","lodash@^4.17.5","lodash@^4.17.5","lodash@^4.17.5"]. This could result in non-deterministic behavior, skipping.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "apollo-link-batch > [email protected]" has unmet peer dependency "graphql@^0.11.3 || ^0.12.3 || ^0.13.0".
warning " > [email protected]" has unmet peer dependency "graphql@^0.11.0 || ^0.12.3 || ^0.13.0".
warning "apollo-link-batch-http > [email protected]" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0 || ^0.13.0".
warning " > [email protected]" has unmet peer dependency "graphql@^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0".
warning " > [email protected]" has unmet peer dependency "apollo-link@^1.0.0".
warning " > [email protected]" has unmet peer dependency "graphql@^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.1".
[4/4] Building fresh packages...
warning Error running install script for optional dependency: "/home/set/www/cloudbeds/emulatorTest/node_modules/zmq: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /home/set/www/cloudbeds/emulatorTest/node_modules/zmq
Output:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/home/set/.nvm/versions/node/v8.4.0/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 '/home/set/www/cloudbeds/emulatorTest/node_modules/zmq/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/set/.nvm/versions/node/v8.4.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/set/.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=/home/set/.node-gyp/8.4.0',
gyp info spawn args '-Dnode_gyp_dir=/home/set/.nvm/versions/node/v8.4.0/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/set/.node-gyp/8.4.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/set/www/cloudbeds/emulatorTest/node_modules/zmq',
gyp info spawn args '-Dnode_engine=v8',
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 spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory `/home/set/www/cloudbeds/emulatorTest/node_modules/zmq/build'
CXX(target) Release/obj.target/zmq/binding.o
../binding.cc:28:17: fatal error: zmq.h: No such file or directory
#include <zmq.h>
^
compilation terminated.
make: *** [Release/obj.target/zmq/binding.o] Error 1
make: Leaving directory `/home/set/www/cloudbeds/emulatorTest/node_modules/zmq/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/set/.nvm/versions/node/v8.4.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258: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 4.4.0-121-generic
gyp ERR! command \"/home/set/.nvm/versions/node/v8.4.0/bin/node\" \"/home/set/.nvm/versions/node/v8.4.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"
gyp ERR! cwd /home/set/www/cloudbeds/emulatorTest/node_modules/zmq
gyp ERR! node -v v8.4.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok"
info This module is OPTIONAL, you can safely ignore this error
success Saved 0 new dependencies.
Done in 6.95s.
set@set-home ~/www/cloudbeds/emulatorTest $ yarn add underscore
yarn add v1.9.4
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "apollo-link-batch > [email protected]" has unmet peer dependency "graphql@^0.11.3 || ^0.12.3 || ^0.13.0".
warning " > [email protected]" has unmet peer dependency "graphql@^0.11.0 || ^0.12.3 || ^0.13.0".
warning "apollo-link-batch-http > [email protected]" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0 || ^0.13.0".
warning " > [email protected]" has unmet peer dependency "graphql@^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0".
warning " > [email protected]" has unmet peer dependency "apollo-link@^1.0.0".
warning " > [email protected]" has unmet peer dependency "graphql@^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.1".
[4/4] Building fresh packages...
warning Error running install script for optional dependency: "/home/set/www/cloudbeds/emulatorTest/node_modules/zmq: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /home/set/www/cloudbeds/emulatorTest/node_modules/zmq
Output:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/home/set/.nvm/versions/node/v8.4.0/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 '/home/set/www/cloudbeds/emulatorTest/node_modules/zmq/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/set/.nvm/versions/node/v8.4.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/set/.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=/home/set/.node-gyp/8.4.0',
gyp info spawn args '-Dnode_gyp_dir=/home/set/.nvm/versions/node/v8.4.0/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/set/.node-gyp/8.4.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/set/www/cloudbeds/emulatorTest/node_modules/zmq',
gyp info spawn args '-Dnode_engine=v8',
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 spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory `/home/set/www/cloudbeds/emulatorTest/node_modules/zmq/build'
CXX(target) Release/obj.target/zmq/binding.o
../binding.cc:28:17: fatal error: zmq.h: No such file or directory
#include <zmq.h>
^
compilation terminated.
make: *** [Release/obj.target/zmq/binding.o] Error 1
make: Leaving directory `/home/set/www/cloudbeds/emulatorTest/node_modules/zmq/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/set/.nvm/versions/node/v8.4.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258: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 4.4.0-121-generic
gyp ERR! command \"/home/set/.nvm/versions/node/v8.4.0/bin/node\" \"/home/set/.nvm/versions/node/v8.4.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"
gyp ERR! cwd /home/set/www/cloudbeds/emulatorTest/node_modules/zmq
gyp ERR! node -v v8.4.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok"
info This module is OPTIONAL, you can safely ignore this error
success Saved lockfile.
success Saved 1 new dependency.
info Direct dependencies
└─ [email protected]
info All dependencies
└─ [email protected]
Done in 7.25s.
from aws-utils.
Despite the errors, you're still getting a successful install. Again, we are working on utilizing different dependencies. Please let us know if something is not working as expected.
from aws-utils.
Related Issues (20)
- Cannot find function config for function : undefined HOT 1
- Failure trying to run tests HOT 3
- ValueMapper: JavaString HOT 2
- Feature request: Aurora (RDS) Serverless support HOT 1
- AppSync Emulator - Support Condition Expressions
- AppSync Emulator - Support $context.stash
- appsync emulator resultItems mapping template example does not work in AWS
- [appsync-emulator-serverless] Does not respect multiple appsSync API's in config HOT 2
- AppSync Emulator - Support RegEx in string split
- Cannot Install on Windows HOT 1
- [appsync-emulator-serverless] Conflicting peer dependencies
- Bug with getting PID by port HOT 9
- Lambda datasource docker HOT 12
- Emulator does not throw error when AppSync does
- AppSync Emulator - AWSEmail and AWSURL HOT 1
- Incorrect string equality in VTL templates HOT 1
- Unable to Invoke lambda function HOT 2
- Mismatch between AWSJSON and AppSync
- Assertions within createSchema method prevent DynamoDB from being null HOT 1
- Incorrect $util.isNullOrEmpty check in appsynce-emulator HOT 3
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 aws-utils.