You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running npm install it would fail every time, the culprit seemed to be the deprecated node-pre-gyp package that couldn't be installed by some dependencies (fsevents & grpc) of firebase.
I fixed it by bumping firebase 1 major version up (from 6.x.x to 7.x.x).
Either through npm uninstall firebase && npm i firebase@7
or by changing the firebase entry under dependencies in package.json with "firebase": "^7.24.0"
System info
MacBook Air M1 (ARM)
node v14.17.6 (LTS)
npm v6.14.15
Error log
node-pre-gyp WARN Using request for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.9/fse-v1.2.9-node-v83-darwin-arm64.tar.gz node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v83 ABI, unknown) (falling back to source compile with node-gyp) SOLINK_MODULE(target) Release/.node CXX(target) Release/obj.target/fse/fsevents.o In file included from ../fsevents.cc:6: In file included from ../../nan/nan.h:2884: ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations] data = static_cast(buffer->GetContents().Data()) + byte_offset; ^ /Users/glenn/Library/Caches/node-gyp/14.17.6/include/node/v8.h:5272:3: note: 'GetContents' has been explicitly marked deprecated here V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.") ^ /Users/glenn/Library/Caches/node-gyp/14.17.6/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON' # define V8_DEPRECATE_SOON(message) [[deprecated(message)]] ^ 1 warning generated. SOLINK_MODULE(target) Release/fse.node COPY /Users/glenn/tmp/hooks-workshop/node_modules/fsevents/lib/binding/Release/node-v83-darwin-arm64/fse.node TOUCH Release/obj.target/action_after_build.stamp
node-pre-gyp WARN Using request for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://node-precompiled-binaries.grpc.io/grpc/v1.23.3/node-v83-darwin-arm64-unknown.tar.gz node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v83 ABI, unknown) (falling back to source compile with node-gyp) CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/avl/avl.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/backoff/backoff.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_args.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_stack.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_stack_builder.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_trace.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channelz.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channelz_registry.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/connected_channel.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/handshaker.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/handshaker_registry.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/status_util.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/compression.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/compression_args.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/compression_internal.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/message_compress.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/stream_compression.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/stream_compression_gzip.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/stream_compression_identity.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/debug/stats.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/debug/stats_data.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/http/format_request.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/http/httpcli.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/http/parser.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/buffer_list.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/call_combiner.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/cfstream_handle.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/combiner.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint_cfstream.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint_pair_posix.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint_pair_uv.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint_pair_windows.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/error.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/error_cfstream.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_epoll1_linux.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_epollex_linux.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_poll_posix.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_posix.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_windows.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/exec_ctx.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/executor.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/executor/mpmcqueue.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/executor/threadpool.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/fork_posix.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/fork_windows.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/gethostname_fallback.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/gethostname_host_name_max.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/gethostname_sysconf.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/grpc_if_nametoindex_posix.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/grpc_if_nametoindex_unsupported.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/internal_errqueue.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iocp_windows.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_custom.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_internal.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_posix.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_posix_cfstream.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_uv.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_windows.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/is_epollexclusive_available.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/load_file.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/lockfree_event.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/polling_entity.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_custom.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_set.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_set_custom.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_set_windows.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_uv.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_windows.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resolve_address.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resolve_address_custom.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resolve_address_posix.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resolve_address_windows.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resource_quota.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/sockaddr_utils.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_factory_posix.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_mutator.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_common_posix.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_linux.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_posix.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_uv.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_windows.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_windows.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_client.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_client_cfstream.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_client_custom.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_client_posix.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_client_windows.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_custom.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_posix.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_custom.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_posix.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_utils_posix_common.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_windows.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_uv.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_windows.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/time_averaged_stats.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_custom.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_generic.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_heap.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_manager.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_uv.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/udp_server.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/unix_sockets_posix.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/unix_sockets_posix_noop.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/wakeup_fd_eventfd.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/wakeup_fd_nospecial.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/wakeup_fd_pipe.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/wakeup_fd_posix.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/json/json.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/json/json_reader.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/json/json_string.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/json/json_writer.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/b64.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/percent_encoding.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/slice.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/slice_buffer.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/slice_intern.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/slice_string_helpers.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/api_trace.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/byte_buffer.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/byte_buffer_reader.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/call.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/call_details.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/call_log_batch.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/channel.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/channel_init.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/channel_ping.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/channel_stack_type.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/completion_queue.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/completion_queue_factory.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/event_string.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/lame_client.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/metadata_array.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/server.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/validate_metadata.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/version.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/bdp_estimator.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/byte_stream.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/connectivity_state.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/error_utils.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/metadata.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/metadata_batch.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/pid_controller.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/static_metadata.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/status_conversion.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/status_metadata.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/timeout_encoding.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/transport.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/transport_op_string.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/uri/uri_parser.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/debug/trace.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.o In file included from ../deps/grpc/src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc:35: In file included from ../deps/grpc/src/core/lib/security/context/security_context.h:28: ../deps/grpc/src/core/lib/security/credentials/credentials.h:211:15: error: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Werror,-Wnon-c-typedef-for-linkage] typedef struct { ^ grpc_credentials_mdelem_array ../deps/grpc/src/core/lib/security/credentials/credentials.h:212:21: note: type is not C-compatible due to this default member initializer grpc_mdelem* md = nullptr; ^~~~~~~ ../deps/grpc/src/core/lib/security/credentials/credentials.h:214:3: note: type is given name 'grpc_credentials_mdelem_array' for linkage purposes by this typedef declaration } grpc_credentials_mdelem_array; ^ 1 error generated. make: *** [Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/Users/glenn/.nvm/versions/node/v14.17.6/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:400:28) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) gyp ERR! System Darwin 20.4.0 gyp ERR! command "/Users/glenn/.nvm/versions/node/v14.17.6/bin/node" "/Users/glenn/.nvm/versions/node/v14.17.6/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--library=static_library" "--module=/Users/glenn/tmp/hooks-workshop/node_modules/grpc/src/node/extension_binary/node-v83-darwin-arm64-unknown/grpc_node.node" "--module_name=grpc_node" "--module_path=/Users/glenn/tmp/hooks-workshop/node_modules/grpc/src/node/extension_binary/node-v83-darwin-arm64-unknown" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83" gyp ERR! cwd /Users/glenn/tmp/hooks-workshop/node_modules/grpc gyp ERR! node -v v14.17.6 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/Users/glenn/.nvm/versions/node/v14.17.6/bin/node /Users/glenn/.nvm/versions/node/v14.17.6/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/Users/glenn/tmp/hooks-workshop/node_modules/grpc/src/node/extension_binary/node-v83-darwin-arm64-unknown/grpc_node.node --module_name=grpc_node --module_path=/Users/glenn/tmp/hooks-workshop/node_modules/grpc/src/node/extension_binary/node-v83-darwin-arm64-unknown --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1) node-pre-gyp ERR! stack at ChildProcess. (/Users/glenn/tmp/hooks-workshop/node_modules/grpc/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:400:28) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1055:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) node-pre-gyp ERR! System Darwin 20.4.0 node-pre-gyp ERR! command "/Users/glenn/.nvm/versions/node/v14.17.6/bin/node" "/Users/glenn/tmp/hooks-workshop/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--library=static_library" node-pre-gyp ERR! cwd /Users/glenn/tmp/hooks-workshop/node_modules/grpc node-pre-gyp ERR! node -v v14.17.6 node-pre-gyp ERR! node-pre-gyp -v v0.13.0 node-pre-gyp ERR! not ok Failed to execute '/Users/glenn/.nvm/versions/node/v14.17.6/bin/node /Users/glenn/.nvm/versions/node/v14.17.6/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/Users/glenn/tmp/hooks-workshop/node_modules/grpc/src/node/extension_binary/node-v83-darwin-arm64-unknown/grpc_node.node --module_name=grpc_node --module_path=/Users/glenn/tmp/hooks-workshop/node_modules/grpc/src/node/extension_binary/node-v83-darwin-arm64-unknown --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build --library=static_library` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /Users/glenn/.npm/_logs/2021-09-02T08_02_14_721Z-debug.log
The text was updated successfully, but these errors were encountered:
glgoose
changed the title
bumping firebase from 6 to 7 to deal with node-pre-gyp issues
bumping firebase from v6 to v7 to deal with node-pre-gyp issues
Sep 2, 2021
When running
npm install
it would fail every time, the culprit seemed to be the deprecatednode-pre-gyp
package that couldn't be installed by some dependencies (fsevents
&grpc
) offirebase
.I fixed it by bumping
firebase
1 major version up (from 6.x.x to 7.x.x).Either through
npm uninstall firebase && npm i firebase@7
or by changing the firebase entry under dependencies in
package.json
with"firebase": "^7.24.0"
System info
MacBook Air M1 (ARM)node v14.17.6 (LTS)
npm v6.14.15
Error log
node-pre-gyp WARN Using request for node-pre-gyp https downloadnode-pre-gyp WARN Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.9/fse-v1.2.9-node-v83-darwin-arm64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v83 ABI, unknown) (falling back to source compile with node-gyp)
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:2884:
../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
data = static_cast(buffer->GetContents().Data()) + byte_offset;
^
/Users/glenn/Library/Caches/node-gyp/14.17.6/include/node/v8.h:5272:3: note: 'GetContents' has been explicitly marked deprecated here
V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
^
/Users/glenn/Library/Caches/node-gyp/14.17.6/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
# define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
^
1 warning generated.
SOLINK_MODULE(target) Release/fse.node
COPY /Users/glenn/tmp/hooks-workshop/node_modules/fsevents/lib/binding/Release/node-v83-darwin-arm64/fse.node
TOUCH Release/obj.target/action_after_build.stamp
> [email protected] install /Users/glenn/tmp/hooks-workshop/node_modules/grpc
> node-pre-gyp install --fallback-to-build --library=static_library
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(404): https://node-precompiled-binaries.grpc.io/grpc/v1.23.3/node-v83-darwin-arm64-unknown.tar.gz
node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v83 ABI, unknown) (falling back to source compile with node-gyp)
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/avl/avl.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/backoff/backoff.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_args.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_stack.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_stack_builder.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_trace.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channelz.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channelz_registry.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/connected_channel.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/handshaker.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/handshaker_registry.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/status_util.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/compression.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/compression_args.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/compression_internal.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/message_compress.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/stream_compression.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/stream_compression_gzip.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/stream_compression_identity.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/debug/stats.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/debug/stats_data.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/http/format_request.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/http/httpcli.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/http/parser.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/buffer_list.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/call_combiner.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/cfstream_handle.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/combiner.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint_cfstream.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint_pair_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint_pair_uv.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint_pair_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/error.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/error_cfstream.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_epoll1_linux.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_epollex_linux.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_poll_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/exec_ctx.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/executor.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/executor/mpmcqueue.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/executor/threadpool.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/fork_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/fork_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/gethostname_fallback.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/gethostname_host_name_max.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/gethostname_sysconf.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/grpc_if_nametoindex_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/grpc_if_nametoindex_unsupported.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/internal_errqueue.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iocp_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_custom.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_internal.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_posix_cfstream.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_uv.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/is_epollexclusive_available.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/load_file.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/lockfree_event.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/polling_entity.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_custom.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_set.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_set_custom.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_set_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_uv.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resolve_address.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resolve_address_custom.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resolve_address_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resolve_address_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resource_quota.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/sockaddr_utils.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_factory_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_mutator.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_common_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_linux.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_uv.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_client.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_client_cfstream.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_client_custom.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_client_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_client_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_custom.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_custom.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_utils_posix_common.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_uv.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/time_averaged_stats.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_custom.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_generic.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_heap.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_manager.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_uv.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/udp_server.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/unix_sockets_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/unix_sockets_posix_noop.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/wakeup_fd_eventfd.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/wakeup_fd_nospecial.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/wakeup_fd_pipe.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/wakeup_fd_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/json/json.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/json/json_reader.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/json/json_string.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/json/json_writer.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/b64.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/percent_encoding.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/slice.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/slice_buffer.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/slice_intern.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/slice_string_helpers.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/api_trace.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/byte_buffer.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/byte_buffer_reader.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/call.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/call_details.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/call_log_batch.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/channel.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/channel_init.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/channel_ping.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/channel_stack_type.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/completion_queue.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/completion_queue_factory.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/event_string.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/lame_client.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/metadata_array.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/server.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/validate_metadata.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/version.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/bdp_estimator.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/byte_stream.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/connectivity_state.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/error_utils.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/metadata.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/metadata_batch.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/pid_controller.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/static_metadata.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/status_conversion.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/status_metadata.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/timeout_encoding.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/transport.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/transport_op_string.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/uri/uri_parser.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/debug/trace.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.o
In file included from ../deps/grpc/src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc:35:
In file included from ../deps/grpc/src/core/lib/security/context/security_context.h:28:
../deps/grpc/src/core/lib/security/credentials/credentials.h:211:15: error: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Werror,-Wnon-c-typedef-for-linkage]
typedef struct {
^
grpc_credentials_mdelem_array
../deps/grpc/src/core/lib/security/credentials/credentials.h:212:21: note: type is not C-compatible due to this default member initializer
grpc_mdelem* md = nullptr;
^~~~~~~
../deps/grpc/src/core/lib/security/credentials/credentials.h:214:3: note: type is given name 'grpc_credentials_mdelem_array' for linkage purposes by this typedef declaration
} grpc_credentials_mdelem_array;
^
1 error generated.
make: *** [Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/glenn/.nvm/versions/node/v14.17.6/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:400:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Darwin 20.4.0
gyp ERR! command "/Users/glenn/.nvm/versions/node/v14.17.6/bin/node" "/Users/glenn/.nvm/versions/node/v14.17.6/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--library=static_library" "--module=/Users/glenn/tmp/hooks-workshop/node_modules/grpc/src/node/extension_binary/node-v83-darwin-arm64-unknown/grpc_node.node" "--module_name=grpc_node" "--module_path=/Users/glenn/tmp/hooks-workshop/node_modules/grpc/src/node/extension_binary/node-v83-darwin-arm64-unknown" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83"
gyp ERR! cwd /Users/glenn/tmp/hooks-workshop/node_modules/grpc
gyp ERR! node -v v14.17.6
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/Users/glenn/.nvm/versions/node/v14.17.6/bin/node /Users/glenn/.nvm/versions/node/v14.17.6/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/Users/glenn/tmp/hooks-workshop/node_modules/grpc/src/node/extension_binary/node-v83-darwin-arm64-unknown/grpc_node.node --module_name=grpc_node --module_path=/Users/glenn/tmp/hooks-workshop/node_modules/grpc/src/node/extension_binary/node-v83-darwin-arm64-unknown --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
node-pre-gyp ERR! stack at ChildProcess. (/Users/glenn/tmp/hooks-workshop/node_modules/grpc/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:400:28)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1055:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
node-pre-gyp ERR! System Darwin 20.4.0
node-pre-gyp ERR! command "/Users/glenn/.nvm/versions/node/v14.17.6/bin/node" "/Users/glenn/tmp/hooks-workshop/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--library=static_library"
node-pre-gyp ERR! cwd /Users/glenn/tmp/hooks-workshop/node_modules/grpc
node-pre-gyp ERR! node -v v14.17.6
node-pre-gyp ERR! node-pre-gyp -v v0.13.0
node-pre-gyp ERR! not ok
Failed to execute '/Users/glenn/.nvm/versions/node/v14.17.6/bin/node /Users/glenn/.nvm/versions/node/v14.17.6/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/Users/glenn/tmp/hooks-workshop/node_modules/grpc/src/node/extension_binary/node-v83-darwin-arm64-unknown/grpc_node.node --module_name=grpc_node --module_path=/Users/glenn/tmp/hooks-workshop/node_modules/grpc/src/node/extension_binary/node-v83-darwin-arm64-unknown --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build --library=static_library`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/glenn/.npm/_logs/2021-09-02T08_02_14_721Z-debug.log
The text was updated successfully, but these errors were encountered: