https://serverless-stack.com/ logo
#random
Title
# random
t

thdxr

09/23/2021, 3:08 AM
Can someone do me a favor and run npm or yarn install
aws-lambda-ric
- does it take a super long time for you?
y

Yousef

09/23/2021, 3:10 AM
fast fail
Copy code
error /Users/yousefjanajri/.config/yarn/global/node_modules/aws-lambda-ric: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /Users/yousefjanajri/.config/yarn/global/node_modules/aws-lambda-ric
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@8.1.0
gyp info using node@14.17.3 | darwin | x64
gyp info find Python using Python version 3.8.2 found at "/Library/Developer/CommandLineTools/usr/bin/python3"
gyp info spawn /Library/Developer/CommandLineTools/usr/bin/python3
gyp info spawn args [
gyp info spawn args   '/Users/yousefjanajri/.config/yarn/global/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   '/Users/yousefjanajri/.config/yarn/global/node_modules/aws-lambda-ric/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/yousefjanajri/.config/yarn/global/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/yousefjanajri/Library/Caches/node-gyp/14.17.3/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/yousefjanajri/Library/Caches/node-gyp/14.17.3',
gyp info spawn args   '-Dnode_gyp_dir=/Users/yousefjanajri/.config/yarn/global/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/Users/yousefjanajri/Library/Caches/node-gyp/14.17.3/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/Users/yousefjanajri/.config/yarn/global/node_modules/aws-lambda-ric',
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 args ]
/bin/sh: deps/artifacts/bin/curl-config: No such file or directory
gyp: Call to 'deps/artifacts/bin/curl-config --static-libs' returned exit status 127 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/Users/yousefjanajri/.config/yarn/global/node_modules/node-gyp/lib/configure.js:353:16)
gyp ERR! stack     at ChildProcess.emit (events.js:375:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Darwin 20.6.0
gyp ERR! command "/usr/local/bin/node" "/Users/yousefjanajri/.config/yarn/global/node_modules/aws-lambda-ric/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /Users/yousefjanajri/.config/yarn/global/node_modules/aws-lambda-ric
gyp ERR! node -v v14.17.3
gyp ERR! node-gyp -v v8.1.0
gyp ERR! not ok
info Visit <https://yarnpkg.com/en/docs/cli/global> for documentation about this command.
t

thdxr

09/23/2021, 3:25 AM
lol well
that's not good