Melvin-Abraham / Google-Assistant-Unofficial-Desktop-Client

A cross-platform unofficial Google Assistant Client for Desktop (powered by Google Assistant SDK)
Apache License 2.0
3.6k stars 410 forks source link

[🐛 Bug]: Errors when compiling from source #654

Open aliquo93 opened 2 years ago

aliquo93 commented 2 years ago

What went wrong?

I get the following errors when I try to compile using npm install

Build Logs ```log npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry. npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile npm WARN deprecated node-pre-gyp@0.16.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future npm WARN deprecated grpc@1.24.6: This library will not receive further updates other than security fixes. We recommend using @grpc/grpc-js instead. npm ERR! code 1 npm ERR! path /home/daniele/Documenti/G-assist/Google-Assistant-Unofficial-Desktop-Client-1.0.0/node_modules/grpc npm ERR! command failed npm ERR! command sh -c node-pre-gyp install --fallback-to-build --library=static_library npm ERR! make: ingresso nella directory «/home/daniele/Documenti/G-assist/Google-Assistant-Unofficial-Desktop-Client-1.0.0/node_modules/grpc/build» npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/avl/avl.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/backoff/backoff.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_args.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_stack.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_stack_builder.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_trace.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channelz.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channelz_registry.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/connected_channel.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/handshaker.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/handshaker_registry.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/status_util.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/compression.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/compression_args.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/compression_internal.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/message_compress.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/stream_compression.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/stream_compression_gzip.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/stream_compression_identity.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/debug/stats.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/debug/stats_data.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/http/format_request.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/http/httpcli.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/http/parser.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/buffer_list.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/call_combiner.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/cfstream_handle.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/combiner.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint_cfstream.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint_pair_posix.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint_pair_uv.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint_pair_windows.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/error.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/error_cfstream.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_epoll1_linux.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_epollex_linux.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_poll_posix.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_posix.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_windows.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/exec_ctx.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/executor.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/executor/mpmcqueue.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/executor/threadpool.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/fork_posix.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/fork_windows.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/gethostname_fallback.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/gethostname_host_name_max.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/gethostname_sysconf.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/grpc_if_nametoindex_posix.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/grpc_if_nametoindex_unsupported.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/internal_errqueue.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iocp_windows.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_custom.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_internal.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_posix.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_posix_cfstream.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_uv.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_windows.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/is_epollexclusive_available.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/load_file.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/lockfree_event.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/polling_entity.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_custom.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_set.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_set_custom.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_set_windows.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_uv.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_windows.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resolve_address.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resolve_address_custom.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resolve_address_posix.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resolve_address_windows.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resource_quota.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/sockaddr_utils.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_factory_posix.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_mutator.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_common_posix.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_linux.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_posix.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_uv.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_windows.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_windows.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_client.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_client_cfstream.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_client_custom.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_client_posix.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_client_windows.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_custom.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_posix.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_custom.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_posix.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_utils_posix_common.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_windows.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_uv.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_windows.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/time_averaged_stats.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_custom.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_generic.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_heap.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_manager.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_uv.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/udp_server.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/unix_sockets_posix.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/unix_sockets_posix_noop.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/wakeup_fd_eventfd.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/wakeup_fd_nospecial.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/wakeup_fd_pipe.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/wakeup_fd_posix.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/json/json.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/json/json_reader.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/json/json_string.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/json/json_writer.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/b64.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/percent_encoding.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/slice.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/slice_buffer.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/slice_intern.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/slice_string_helpers.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/api_trace.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/byte_buffer.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/byte_buffer_reader.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/call.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/call_details.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/call_log_batch.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/channel.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/channel_init.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/channel_ping.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/channel_stack_type.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/completion_queue.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/completion_queue_factory.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/event_string.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/lame_client.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/metadata_array.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/server.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/validate_metadata.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/version.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/bdp_estimator.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/byte_stream.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/connectivity_state.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/error_utils.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/metadata.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/metadata_batch.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/pid_controller.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/static_metadata.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/status_conversion.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/status_metadata.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/timeout_encoding.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/transport.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/transport_op_string.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/uri/uri_parser.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/debug/trace.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/bin_decoder.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/bin_encoder.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/chttp2_plugin.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/chttp2_transport.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/context_list.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/flow_control.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/frame_data.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/frame_goaway.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/frame_ping.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/frame_rst_stream.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/frame_settings.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/frame_window_update.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/hpack_encoder.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/hpack_parser.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/hpack_table.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/http2_settings.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/huffsyms.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/incoming_metadata.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/parsing.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/stream_lists.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/stream_map.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/varint.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/writing.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/alpn/alpn.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/http/client/http_client_filter.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/http/http_filters_plugin.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/http/message_compress/message_compress_filter.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/http/server/http_server_filter.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/http/httpcli_security_connector.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/context/security_context.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/alts/alts_credentials.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/composite/composite_credentials.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/credentials.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/credentials_metadata.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/fake/fake_credentials.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/google_default/credentials_generic.o npm ERR! CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/google_default/google_default_credentials.o npm ERR! make: uscita dalla directory «/home/daniele/Documenti/G-assist/Google-Assistant-Unofficial-Desktop-Client-1.0.0/node_modules/grpc/build» npm ERR! Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/home/daniele/Documenti/G-assist/Google-Assistant-Unofficial-Desktop-Client-1.0.0/node_modules/grpc/src/node/extension_binary/node-v102-linux-x64-glibc/grpc_node.node --module_name=grpc_node --module_path=/home/daniele/Documenti/G-assist/Google-Assistant-Unofficial-Desktop-Client-1.0.0/node_modules/grpc/src/node/extension_binary/node-v102-linux-x64-glibc --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v102' (1) npm ERR! node-pre-gyp info it worked if it ends with ok npm ERR! node-pre-gyp info using node-pre-gyp@0.16.0 npm ERR! node-pre-gyp info using node@17.5.0 | linux | x64 npm ERR! node-pre-gyp WARN Using needle for node-pre-gyp https download npm ERR! node-pre-gyp info check checked for "/home/daniele/Documenti/G-assist/Google-Assistant-Unofficial-Desktop-Client-1.0.0/node_modules/grpc/src/node/extension_binary/node-v102-linux-x64-glibc/grpc_node.node" (not found) npm ERR! node-pre-gyp http GET https://node-precompiled-binaries.grpc.io/grpc/v1.24.6/node-v102-linux-x64-glibc.tar.gz npm ERR! node-pre-gyp http 404 https://node-precompiled-binaries.grpc.io/grpc/v1.24.6/node-v102-linux-x64-glibc.tar.gz npm ERR! node-pre-gyp WARN Tried to download(404): https://node-precompiled-binaries.grpc.io/grpc/v1.24.6/node-v102-linux-x64-glibc.tar.gz npm ERR! node-pre-gyp WARN Pre-built binaries not found for grpc@1.24.6 and node@17.5.0 (node-v102 ABI, glibc) (falling back to source compile with node-gyp) npm ERR! node-pre-gyp http 404 status code downloading tarball https://node-precompiled-binaries.grpc.io/grpc/v1.24.6/node-v102-linux-x64-glibc.tar.gz npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@8.4.1 npm ERR! gyp info using node@17.5.0 | linux | x64 npm ERR! gyp info ok npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@8.4.1 npm ERR! gyp info using node@17.5.0 | linux | x64 npm ERR! gyp info find Python using Python version 3.9.7 found at "/usr/bin/python3" npm ERR! gyp info spawn /usr/bin/python3 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/daniele/Documenti/G-assist/Google-Assistant-Unofficial-Desktop-Client-1.0.0/node_modules/grpc/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/daniele/.cache/node-gyp/17.5.0/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/home/daniele/.cache/node-gyp/17.5.0', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/home/daniele/.cache/node-gyp/17.5.0/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/home/daniele/Documenti/G-assist/Google-Assistant-Unofficial-Desktop-Client-1.0.0/node_modules/grpc', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp info ok npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@8.4.1 npm ERR! gyp info using node@17.5.0 | linux | x64 npm ERR! gyp info spawn make npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] npm ERR! In file included from /usr/include/string.h:519, npm ERR! from ../deps/grpc/src/core/lib/slice/slice_internal.h:28, npm ERR! from ../deps/grpc/src/core/lib/slice/slice.cc:21: npm ERR! In function ‘void* memcpy(void*, const void*, size_t)’, npm ERR! inlined from ‘Slice sub_no_ref(const Slice&, size_t, size_t) [with Slice = grpc_slice]’ at ../deps/grpc/src/core/lib/slice/slice.cc:337:11, npm ERR! inlined from ‘grpc_slice grpc_slice_sub_no_ref(grpc_slice, size_t, size_t)’ at ../deps/grpc/src/core/lib/slice/slice.cc:344:20, npm ERR! inlined from ‘grpc_slice grpc_slice_sub(grpc_slice, size_t, size_t)’ at ../deps/grpc/src/core/lib/slice/slice.cc:361:35: npm ERR! /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:33: warning: ‘void* __builtin___memcpy_chk(void*, const void*, long unsigned int, long unsigned int)’ forming offset 32 is out of the bounds [0, 32] of object ‘’ with type ‘grpc_slice’ [-Warray-bounds] npm ERR! 29 | return __builtin___memcpy_chk (__dest, __src, __len, npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ npm ERR! 30 | __glibc_objsize0 (__dest)); npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../deps/grpc/src/core/lib/slice/slice.cc: In function ‘grpc_slice grpc_slice_sub(grpc_slice, size_t, size_t)’: npm ERR! ../deps/grpc/src/core/lib/slice/slice.cc:352:12: note: ‘’ declared here npm ERR! 352 | grpc_slice grpc_slice_sub(grpc_slice source, size_t begin, size_t end) { npm ERR! | ^~~~~~~~~~~~~~ npm ERR! In file included from /home/daniele/.cache/node-gyp/17.5.0/include/node/openssl/rsa.h:14, npm ERR! from ../deps/grpc/src/core/lib/security/credentials/jwt/json_token.h:27, npm ERR! from ../deps/grpc/src/core/lib/security/credentials/jwt/jwt_credentials.h:25, npm ERR! from ../deps/grpc/src/core/lib/security/credentials/google_default/google_default_credentials.cc:41: npm ERR! /home/daniele/.cache/node-gyp/17.5.0/include/node/openssl/macros.h:155:4: error: #error "OPENSSL_API_COMPAT expresses an impossible API compatibility level" npm ERR! 155 | # error "OPENSSL_API_COMPAT expresses an impossible API compatibility level" npm ERR! | ^~~~~ npm ERR! make: *** [grpc.target.mk:548: Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/google_default/google_default_credentials.o] Errore 1 npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2 npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:526:28) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) npm ERR! gyp ERR! System Linux 5.13.0-28-generic npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--library=static_library" "--module=/home/daniele/Documenti/G-assist/Google-Assistant-Unofficial-Desktop-Client-1.0.0/node_modules/grpc/src/node/extension_binary/node-v102-linux-x64-glibc/grpc_node.node" "--module_name=grpc_node" "--module_path=/home/daniele/Documenti/G-assist/Google-Assistant-Unofficial-Desktop-Client-1.0.0/node_modules/grpc/src/node/extension_binary/node-v102-linux-x64-glibc" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v102" npm ERR! gyp ERR! cwd /home/daniele/Documenti/G-assist/Google-Assistant-Unofficial-Desktop-Client-1.0.0/node_modules/grpc npm ERR! gyp ERR! node -v v17.5.0 npm ERR! gyp ERR! node-gyp -v v8.4.1 npm ERR! gyp ERR! not ok npm ERR! node-pre-gyp ERR! build error npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/home/daniele/Documenti/G-assist/Google-Assistant-Unofficial-Desktop-Client-1.0.0/node_modules/grpc/src/node/extension_binary/node-v102-linux-x64-glibc/grpc_node.node --module_name=grpc_node --module_path=/home/daniele/Documenti/G-assist/Google-Assistant-Unofficial-Desktop-Client-1.0.0/node_modules/grpc/src/node/extension_binary/node-v102-linux-x64-glibc --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v102' (1) npm ERR! node-pre-gyp ERR! stack at ChildProcess. (/home/daniele/Documenti/G-assist/Google-Assistant-Unofficial-Desktop-Client-1.0.0/node_modules/node-pre-gyp/lib/util/compile.js:83:29) npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:526:28) npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1090:16) npm ERR! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) npm ERR! node-pre-gyp ERR! System Linux 5.13.0-28-generic npm ERR! node-pre-gyp ERR! command "/usr/local/bin/node" "/home/daniele/Documenti/G-assist/Google-Assistant-Unofficial-Desktop-Client-1.0.0/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--library=static_library" npm ERR! node-pre-gyp ERR! cwd /home/daniele/Documenti/G-assist/Google-Assistant-Unofficial-Desktop-Client-1.0.0/node_modules/grpc npm ERR! node-pre-gyp ERR! node -v v17.5.0 npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.16.0 npm ERR! node-pre-gyp ERR! not ok npm ERR! A complete log of this run can be found in: npm ERR! /home/daniele/.npm/_logs/2022-02-11T18_51_12_141Z-debug-0.log ```

My npm version is 8.5.0 and my node version is 17.5.0. I'm on Kubuntu 21.10 with KDE Plasma 5.24.0. I've also attached debug-0.log file.

2022-02-11T18_51_12_141Z-debug-0.log

What did you expect to happen?

A successful compilation.

Steps to reproduce the bug

.

App Version

Built from source

OS Version

Kubuntu 21.10

Relevant Assets

No response

Pre-submission Checklist

Melvin-Abraham commented 2 years ago

@aliquo93 You might have to downgrade the node.js version to 14.x for the build to work, since the node version of grpc does not support the latest version. On a side note, to manage multiple version of node, you may use nvm.

aliquo93 commented 2 years ago

I’ve downgraded yesterday to 14.9 and got other errors, I’ll post them later

aliquo93 commented 2 years ago

Ok, now I deleted the cache and with node 14.9.0 works, but there is another problem. After doing npm install and then npm start the app starts correctly, but it has a visual bug with black squared corners:

1

If I close it, do npm audit fix --force and then npm start again the visual bug gets solved, but the app reports this errors in the terminal

Errors `[11153:0216/001722.225065:ERROR:browser_main_loop.cc(267)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed` `00:17:22.604 › Error: marked is not a function` ` at UpdaterGeneric.checkForUpdates (/home/daniele/Documenti/G-assist/Google-Assistant-Unofficial-Desktop-Client-1.0.0/app/src/updater/updaterGeneric.js:95:26)` ` at processTicksAndRejections (node:internal/process/task_queues:96:5)`

and becomes unusable (it starts but if I click anywhere it does nothing, for example if I click the settings button nothing happens).

2

Any suggestion?

aliquo93 commented 2 years ago

Any solution to this?

Melvin-Abraham commented 2 years ago

@aliquo93 The appearance of non-transparent corners on Linux is a known issue. To temporarily fix this, an older version of Electron (possibly 9.x) must be used. Refer https://github.com/Melvin-Abraham/Google-Assistant-Unofficial-Desktop-Client/issues/357#issuecomment-834468764

PS: In case the application is stuck at the start (after running npm audit), try removing the node_modules directory and reinstall the dependencies.

aliquo93 commented 2 years ago

@aliquo93 The appearance of non-transparent corners on Linux is a known issue. To temporarily fix this, an older version of Electron (possibly 9.x) must be used. Refer #357 (comment)

PS: In case the application is stuck at the start (after running npm audit), try removing the node_modules directory and reinstall the dependencies.

Could you please tell me how to downgrade Electron to 9.x? To reinstall the dependencies I just have to do npm install again?