Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Unable to close the modal using hooks #129

Open
RubenSousaDinis opened this issue Jun 7, 2023 · 5 comments
Open

Unable to close the modal using hooks #129

RubenSousaDinis opened this issue Jun 7, 2023 · 5 comments

Comments

@RubenSousaDinis
Copy link

Hi!

I'm using hooks to open the modal. https://docs.worldcoin.org/idkit/reference#hooks

The problem is that I can't close it. When I click the X button on the top right corner of the modal nothing happens.

Is there any prop that we can pass to call the setOpen function?

Here is how it's currently being used by us: https://github.com/talentprotocol/web-dapp/pull/1267/files#diff-c26670dda0c72d9fca11f1c7408672e1bcea6de4ec2df1bcd03d35d932a4e31d

@m1guelpf
Copy link
Member

m1guelpf commented Jun 8, 2023

@RubenSousaDinis Left a comment on your PR, which I believe should fix the issue. In case it doesn't, we could get on a call and try to debug it together. lmk

@RubenSousaDinis
Copy link
Author

@RubenSousaDinis Left a comment on your PR, which I believe should fix the issue. In case it doesn't, we could get on a call and try to debug it together. lmk

Removing the prop still doesn't allow me to close the modal. I've updated the PR without it, but it still doesn't close. I've recorded a loom with the problem: https://www.loom.com/share/bf52be7a170c474f8f78ce1d002bec4a.

@m1guelpf
Copy link
Member

m1guelpf commented Jun 8, 2023

@RubenSousaDinis Hmmm, it looks like the model starts closing and then gets opened again. I'm trying to repro but failing to set the project up. Here's what I get when running docker-compose up

➜ docker-compose up
[+] Building 98.2s (13/18)                                                                                                                                                                                                        
 => [internal] load .dockerignore                                                                                                                                                                                            0.0s
 => => transferring context: 857B                                                                                                                                                                                            0.0s
 => [internal] load build definition from Dockerfile                                                                                                                                                                         0.0s
 => => transferring dockerfile: 724B                                                                                                                                                                                         0.0s
 => resolve image config for docker.io/docker/dockerfile:1                                                                                                                                                                   0.7s
 => CACHED docker-image://docker.io/docker/dockerfile:1@sha256:39b85bbfa7536a5feceb7372a0817649ecb2724562a38360f4d6a7782a409b14                                                                                              0.0s
 => [internal] load metadata for docker.io/library/ruby:3.1.4-alpine                                                                                                                                                         1.8s
 => [internal] load build context                                                                                                                                                                                            0.1s
 => => transferring context: 118.09kB                                                                                                                                                                                        0.1s
 => [ruby-builder  1/12] FROM docker.io/library/ruby:3.1.4-alpine@sha256:2400ea9bf369d24b29874ec69c08bc3a9b44f27969eda6e3e9eb31289c55e3db                                                                                    2.0s
 => => resolve docker.io/library/ruby:3.1.4-alpine@sha256:2400ea9bf369d24b29874ec69c08bc3a9b44f27969eda6e3e9eb31289c55e3db                                                                                                   0.0s
 => => sha256:2400ea9bf369d24b29874ec69c08bc3a9b44f27969eda6e3e9eb31289c55e3db 1.65kB / 1.65kB                                                                                                                               0.0s
 => => sha256:ddada2f073ac611210954e6661ee7efaa973a6505a4786f9517cd1b99cf26c58 1.36kB / 1.36kB                                                                                                                               0.0s
 => => sha256:c907bd7c1c4dcd18daac22de12250a52925e5d23ce39b5ebdca49f0e0c25c260 6.12kB / 6.12kB                                                                                                                               0.0s
 => => sha256:08409d4172603f40b56eb6b76240a1e6bd78baa0e96590dc7ff76c5f1a093af2 3.34MB / 3.34MB                                                                                                                               0.3s
 => => sha256:ed8d08b30450c12a72939d3227c817154531f453653453d46d7d2a0708f4497d 4.06MB / 4.06MB                                                                                                                               0.4s
 => => sha256:59b492009e1697af0a35d8344ae929d156f9d5e2d3ba72b1853aaee24f6bfa95 225B / 225B                                                                                                                                   0.3s
 => => extracting sha256:08409d4172603f40b56eb6b76240a1e6bd78baa0e96590dc7ff76c5f1a093af2                                                                                                                                    0.1s
 => => sha256:831bb4769cd713dde88dccba20919c346eb5a49bdeebfb7b2d034c667bec9ea3 28.93MB / 28.93MB                                                                                                                             1.5s
 => => sha256:c904c85f639aee0f916c284937bc4e2cf9cf883319456c954a23f6f9e4c99f3e 172B / 172B                                                                                                                                   0.6s
 => => extracting sha256:ed8d08b30450c12a72939d3227c817154531f453653453d46d7d2a0708f4497d                                                                                                                                    0.1s
 => => extracting sha256:59b492009e1697af0a35d8344ae929d156f9d5e2d3ba72b1853aaee24f6bfa95                                                                                                                                    0.0s
 => => extracting sha256:831bb4769cd713dde88dccba20919c346eb5a49bdeebfb7b2d034c667bec9ea3                                                                                                                                    0.3s
 => => extracting sha256:c904c85f639aee0f916c284937bc4e2cf9cf883319456c954a23f6f9e4c99f3e                                                                                                                                    0.0s
 => [ruby-builder  2/12] RUN apk add --no-cache alpine-sdk tzdata postgresql-client postgresql-dev git build-base file yarn libcurl curl                                                                                    17.5s
 => [ruby-builder  3/12] ADD Gemfile* ./tmp/                                                                                                                                                                                 0.0s
 => [ruby-builder  4/12] ADD package.json yarn.lock ./tmp/                                                                                                                                                                   0.0s 
 => [ruby-builder  5/12] WORKDIR /tmp                                                                                                                                                                                        0.0s 
 => [ruby-builder  6/12] RUN gem install bundler -v 2.4.12                                                                                                                                                                   1.5s 
 => ERROR [ruby-builder  7/12] RUN bundle install                                                                                                                                                                           74.6s 
------                                                                                                                                                                                                                            
 > [ruby-builder  7/12] RUN bundle install:                                                                                                                                                                                       
#0 0.624 Fetching https://github.com/rails/webpacker.git                                                                                                                                                                          
#0 4.492 Fetching gem metadata from https://rubygems.org/.......                                                                                                                                                                  
#0 15.99 Resolving dependencies...                                                                                                                                                                                                
#0 16.33 Using rake 13.0.6                                                                                                                                                                                                        
#0 16.33 Fetching minitest 5.18.0
#0 16.35 Fetching racc 1.6.2
#0 16.36 Fetching concurrent-ruby 1.2.2
#0 16.36 Fetching erubi 1.12.0
#0 16.36 Fetching builder 3.2.4
#0 16.47 Installing erubi 1.12.0
#0 16.47 Installing builder 3.2.4
#0 16.48 Installing racc 1.6.2 with native extensions
#0 16.48 Installing minitest 5.18.0
#0 16.48 Fetching crass 1.0.6
#0 16.52 Fetching rack 2.2.7
#0 16.52 Fetching nio4r 2.5.9
#0 16.55 Installing crass 1.0.6
#0 16.57 Fetching websocket-extensions 0.1.5
#0 16.59 Installing concurrent-ruby 1.2.2
#0 16.67 Installing nio4r 2.5.9 with native extensions
#0 16.67 Installing websocket-extensions 0.1.5
#0 16.67 Installing rack 2.2.7
#0 16.68 Fetching marcel 1.0.2
#0 16.70 Fetching mini_mime 1.1.2
#0 16.75 Fetching date 3.3.3
#0 16.77 Installing marcel 1.0.2
#0 16.78 Fetching timeout 0.3.2
#0 16.79 Installing mini_mime 1.1.2
#0 16.80 Fetching public_suffix 5.0.1
#0 16.85 Installing timeout 0.3.2
#0 16.86 Fetching ffi 1.15.5
#0 16.87 Installing date 3.3.3 with native extensions
#0 16.89 Installing public_suffix 5.0.1
#0 16.90 Fetching argon2-kdf 0.1.7
#0 17.02 Installing ffi 1.15.5 with native extensions
#0 17.02 Installing argon2-kdf 0.1.7
#0 17.04 Fetching ast 2.4.2
#0 17.13 Installing ast 2.4.2
#0 17.14 Fetching awesome_print 1.9.2
#0 17.21 Installing awesome_print 1.9.2
#0 17.23 Fetching aws-eventstream 1.2.0
#0 17.29 Installing aws-eventstream 1.2.0
#0 17.30 Fetching aws-partitions 1.753.0
#0 17.33 Fetching jmespath 1.6.2
#0 17.39 Installing aws-partitions 1.753.0
#0 17.39 Fetching bcrypt 3.1.18
#0 17.42 Installing jmespath 1.6.2
#0 17.43 Fetching bindex 0.8.1
#0 17.48 Installing bcrypt 3.1.18 with native extensions
#0 17.50 Installing bindex 0.8.1 with native extensions
#0 17.72 Fetching chartkick 5.0.1
#0 18.00 Installing chartkick 5.0.1
#0 18.01 Fetching method_source 1.0.0
#0 18.08 Installing method_source 1.0.0
#0 18.09 Fetching thor 1.2.1
#0 18.16 Installing thor 1.2.1
#0 18.17 Fetching zeitwerk 2.6.7
#0 18.25 Installing zeitwerk 2.6.7
#0 18.26 Fetching errbase 0.2.2
#0 18.32 Fetching blueprinter 0.25.3
#0 18.33 Installing errbase 0.2.2
#0 18.33 Fetching msgpack 1.7.0
#0 18.38 Installing blueprinter 0.25.3
#0 18.39 Fetching htmlbeautifier 1.4.2
#0 18.43 Installing msgpack 1.7.0 with native extensions
#0 18.47 Installing htmlbeautifier 1.4.2
#0 18.48 Fetching htmlentities 4.3.4
#0 18.71 Installing htmlentities 4.3.4
#0 18.72 Fetching uniform_notifier 1.16.0
#0 18.79 Installing uniform_notifier 1.16.0
#0 18.80 Using bundler 2.4.12
#0 18.80 Fetching byebug 11.1.3
#0 18.89 Installing byebug 11.1.3 with native extensions
#0 19.53 Fetching multi_json 1.15.0
#0 19.60 Installing multi_json 1.15.0
#0 19.61 Fetching faraday-em_http 1.0.0
#0 19.68 Installing faraday-em_http 1.0.0
#0 19.68 Fetching faraday-em_synchrony 1.0.0
#0 19.74 Installing faraday-em_synchrony 1.0.0
#0 19.75 Fetching faraday-excon 1.1.0
#0 19.81 Installing faraday-excon 1.1.0
#0 19.81 Fetching faraday-httpclient 1.0.1
#0 19.89 Installing faraday-httpclient 1.0.1
#0 19.89 Fetching multipart-post 2.3.0
#0 19.96 Installing multipart-post 2.3.0
#0 19.97 Fetching faraday-net_http 1.0.1
#0 20.03 Installing faraday-net_http 1.0.1
#0 20.04 Fetching faraday-net_http_persistent 1.2.0
#0 20.10 Installing faraday-net_http_persistent 1.2.0
#0 20.11 Fetching faraday-patron 1.0.0
#0 20.17 Installing faraday-patron 1.0.0
#0 20.18 Fetching faraday-rack 1.0.0
#0 20.24 Installing faraday-rack 1.0.0
#0 20.25 Fetching faraday-retry 1.0.3
#0 20.27 Using ruby2_keywords 0.0.5
#0 20.28 Fetching elasticsearch-dsl 0.1.10
#0 20.33 Installing faraday-retry 1.0.3
#0 20.34 Fetching numerizer 0.1.1
#0 20.37 Installing elasticsearch-dsl 0.1.10
#0 20.40 Fetching docile 1.4.0
#0 20.46 Installing docile 1.4.0
#0 20.47 Fetching simplecov-html 0.12.3
#0 20.57 Installing numerizer 0.1.1
#0 20.57 Fetching simplecov_json_formatter 0.1.4
#0 20.60 Installing simplecov-html 0.12.3
#0 20.81 Fetching coderay 1.1.3
#0 20.85 Installing simplecov_json_formatter 0.1.4
#0 20.85 Fetching connection_pool 2.4.0
#0 20.90 Installing coderay 1.1.3
#0 20.92 Fetching content_disposition 1.0.0
#0 20.93 Installing connection_pool 2.4.0
#0 20.93 Using rexml 3.2.5
#0 20.94 Fetching declarative 0.0.20
#0 20.98 Installing content_disposition 1.0.0
#0 20.99 Fetching diff-lcs 1.5.0
#0 21.01 Installing declarative 0.0.20
#0 21.01 Fetching unf_ext 0.0.8.2
#0 21.06 Installing diff-lcs 1.5.0
#0 21.07 Fetching dotenv 2.8.1
#0 21.12 Installing unf_ext 0.0.8.2 with native extensions
#0 21.15 Installing dotenv 2.8.1
#0 21.15 Fetching keccak 1.3.1
#0 21.42 Installing keccak 1.3.1 with native extensions
#0 22.02 Fetching konstructor 1.0.2
#0 22.09 Installing konstructor 1.0.2
#0 22.10 Fetching openssl 3.1.0
#0 22.19 Installing openssl 3.1.0 with native extensions
#0 22.24 Fetching mini_portile2 2.8.1
#0 22.31 Installing mini_portile2 2.8.1
#0 22.32 Fetching pkg-config 1.5.1
#0 22.39 Installing pkg-config 1.5.1
#0 22.40 Fetching rubyzip 2.3.2
#0 22.47 Installing rubyzip 2.3.2
#0 22.48 Fetching execjs 2.8.1
#0 22.55 Installing execjs 2.8.1
#0 22.56 Fetching foreman 0.87.2
#0 22.64 Fetching raabro 1.4.0
#0 22.66 Installing foreman 0.87.2
#0 22.68 Fetching jwt 2.7.0
#0 22.71 Installing raabro 1.4.0
#0 22.71 Fetching memoist 0.16.2
#0 22.76 Installing jwt 2.7.0
#0 22.77 Fetching os 1.1.4
#0 22.79 Installing memoist 0.16.2
#0 22.79 Fetching httpclient 2.8.3
#0 22.86 Installing os 1.1.4
#0 22.87 Fetching trailblazer-option 0.1.2
#0 22.90 Installing httpclient 2.8.3
#0 22.92 Fetching uber 0.1.0
#0 22.95 Installing trailblazer-option 0.1.2
#0 22.96 Fetching retriable 3.1.2
#0 22.99 Installing uber 0.1.0
#0 23.00 Fetching webrick 1.8.1
#0 23.04 Installing retriable 3.1.2
#0 23.05 Fetching graphql 2.0.21
#0 23.10 Installing webrick 1.8.1
#0 23.11 Fetching hashdiff 1.0.1
#0 23.15 Installing graphql 2.0.21
#0 23.18 Installing hashdiff 1.0.1
#0 23.19 Fetching http-form_data 2.3.0
#0 23.23 Fetching mini_magick 4.12.0
#0 23.26 Installing http-form_data 2.3.0
#0 23.27 Fetching json 2.6.3
#0 23.31 Installing mini_magick 4.12.0
#0 23.32 Fetching language_server-protocol 3.17.0.3
#0 23.36 Installing json 2.6.3 with native extensions
#0 23.39 Installing language_server-protocol 3.17.0.3
#0 23.44 Fetching libv8-node 16.10.0.0 (aarch64-linux)
#0 24.14 Fetching lint_roller 1.0.0
#0 24.21 Installing lint_roller 1.0.0
#0 24.21 Fetching rb-fsevent 0.11.2
#0 24.26 Fetching lockbox 1.2.0
#0 24.30 Installing rb-fsevent 0.11.2
#0 24.31 Using matrix 0.4.2
#0 24.31 Fetching uri 0.10.0.1
#0 24.35 Installing lockbox 1.2.0
#0 24.35 Fetching newrelic_rpm 9.2.0
#0 24.39 Installing uri 0.10.0.1
#0 24.40 Fetching pagy 6.0.3
#0 24.48 Installing newrelic_rpm 9.2.0
#0 24.49 Installing pagy 6.0.3
#0 24.53 Fetching parallel 1.23.0
#0 24.58 Fetching pg 1.5.1
#0 24.60 Installing parallel 1.23.0
#0 24.60 Fetching rainbow 3.1.1
#0 24.67 Installing rainbow 3.1.1
#0 24.68 Fetching semantic_range 3.0.0
#0 24.70 Installing pg 1.5.1 with native extensions
#0 24.74 Installing semantic_range 3.0.0
#0 24.75 Fetching redis 4.8.1
#0 24.83 Installing redis 4.8.1
#0 24.83 Fetching regexp_parser 2.8.0
#0 24.92 Installing regexp_parser 2.8.0
#0 24.93 Fetching rollbar 3.4.0
#0 25.01 Installing rollbar 3.4.0
#0 25.03 Fetching rspec-support 3.12.0
#0 25.11 Installing rspec-support 3.12.0
#0 25.11 Fetching ruby-progressbar 1.13.0
#0 25.18 Installing ruby-progressbar 1.13.0
#0 25.19 Fetching unicode-display_width 2.4.2
#0 25.26 Installing unicode-display_width 2.4.2
#0 25.27 Fetching ruby_http_client 3.5.5
#0 25.36 Installing ruby_http_client 3.5.5
#0 25.37 Fetching tilt 2.1.0
#0 25.44 Installing tilt 2.1.0
#0 25.45 Fetching schmooze 0.2.0
#0 25.52 Installing schmooze 0.2.0
#0 25.52 Fetching websocket 1.2.9
#0 25.60 Fetching spring 4.1.1
#0 25.60 Installing websocket 1.2.9
#0 25.62 Fetching websocket-driver 0.7.5
#0 25.67 Installing spring 4.1.1
#0 25.68 Fetching i18n 1.12.0
#0 25.69 Installing websocket-driver 0.7.5 with native extensions
#0 25.78 Installing i18n 1.12.0
#0 25.79 Fetching tzinfo 2.0.6
#0 25.87 Installing tzinfo 2.0.6
#0 25.88 Fetching rack-test 2.1.0
#0 25.92 Fetching request_store 1.5.1
#0 25.99 Installing rack-test 2.1.0
#0 25.99 Fetching rack-attack 6.6.1
#0 26.00 Installing request_store 1.5.1
#0 26.01 Fetching rack-mini-profiler 2.3.4
#0 26.09 Installing rack-attack 6.6.1
#0 26.10 Fetching rack-proxy 0.7.6
#0 26.14 Installing rack-mini-profiler 2.3.4
#0 26.16 Fetching roda 3.67.0
#0 26.19 Installing rack-proxy 0.7.6
#0 26.19 Fetching sprockets 4.2.0
#0 26.50 Installing sprockets 4.2.0
#0 26.51 Installing roda 3.67.0
#0 26.54 Fetching net-protocol 0.2.1
#0 26.57 Fetching addressable 2.8.4
#0 26.63 Installing net-protocol 0.2.1
#0 26.64 Fetching parser 3.2.2.1
#0 26.68 Installing addressable 2.8.4
#0 26.69 Fetching aws-sigv4 1.5.2
#0 26.77 Installing aws-sigv4 1.5.2
#0 26.77 Fetching nokogiri 1.14.3 (aarch64-linux)
#0 26.83 Installing parser 3.2.2.1
#0 26.88 Fetching safely_block 0.3.0
#0 26.94 Installing safely_block 0.3.0
#0 26.95 Fetching bundler-audit 0.9.1
#0 27.04 Installing bundler-audit 0.9.1
#0 27.05 Fetching puma 5.6.5
#0 27.16 Installing puma 5.6.5 with native extensions
#0 27.93 Installing nokogiri 1.14.3 (aarch64-linux)
#0 28.05 Fetching elasticsearch-api 7.13.3
#0 28.15 Installing elasticsearch-api 7.13.3
#0 28.21 Fetching faraday-multipart 1.0.4
#0 28.29 Installing faraday-multipart 1.0.4
#0 28.30 Fetching chronic_duration 0.10.6
#0 28.53 Installing chronic_duration 0.10.6
#0 28.54 Fetching simplecov 0.21.2
#0 28.63 Installing simplecov 0.21.2
#0 28.64 Fetching pry 0.14.2
#0 28.76 Installing pry 0.14.2
#0 28.79 Fetching crack 0.4.5
#0 28.86 Installing crack 0.4.5
#0 28.86 Fetching unf 0.1.4
#0 29.07 Installing unf 0.1.4
#0 29.09 Fetching bootsnap 1.16.0
#0 29.17 Installing bootsnap 1.16.0 with native extensions
#0 29.59 Fetching rmagick 5.2.0
#0 29.81 Installing rmagick 5.2.0 with native extensions
#0 29.86 Installing libv8-node 16.10.0.0 (aarch64-linux)
#0 29.93 Fetching rbsecp256k1 5.1.1
#0 30.00 Installing rbsecp256k1 5.1.1 with native extensions
#0 30.21 Fetching representable 3.2.0
#0 30.30 Installing representable 3.2.0
#0 30.34 Fetching standard-custom 1.0.0
#0 30.44 Installing standard-custom 1.0.0
#0 30.44 Fetching ffi-compiler 1.0.1
#0 30.68 Installing ffi-compiler 1.0.1
#0 30.69 Fetching sassc 2.4.0
#0 30.84 Installing sassc 2.4.0 with native extensions
#0 30.98 Fetching ruby-vips 2.1.4
#0 31.06 Installing ruby-vips 2.1.4
#0 31.08 Fetching rb-inotify 0.10.1
#0 31.16 Installing rb-inotify 0.10.1
#0 31.17 Fetching net-http 0.3.2
#0 31.25 Installing net-http 0.3.2
#0 31.26 Fetching sidekiq 6.5.8
#0 31.32 Fetching rspec-core 3.12.2
#0 31.37 Installing sidekiq 6.5.8
#0 31.40 Fetching rspec-expectations 3.12.3
#0 31.43 Installing rspec-core 3.12.2
#0 31.45 Fetching rspec-mocks 3.12.5
#0 31.49 Installing rspec-expectations 3.12.3
#0 31.51 Fetching sendgrid-ruby 6.6.2
#0 31.54 Installing rspec-mocks 3.12.5
#0 31.55 Fetching selenium-webdriver 4.9.0
#0 31.62 Installing sendgrid-ruby 6.6.2
#0 31.64 Fetching faker 3.2.0
#0 32.02 Installing selenium-webdriver 4.9.0
#0 32.18 Fetching activesupport 7.0.4.1
#0 32.29 Installing activesupport 7.0.4.1
#0 32.32 Installing faker 3.2.0
#0 32.43 Fetching et-orbi 1.2.7
#0 32.50 Installing et-orbi 1.2.7
#0 32.51 Fetching net-imap 0.3.4
#0 32.53 Fetching net-pop 0.1.2
#0 32.59 Installing net-imap 0.3.4
#0 32.60 Fetching net-smtp 0.3.3
#0 32.61 Installing net-pop 0.1.2
#0 32.62 Fetching css_parser 1.14.0
#0 32.67 Installing net-smtp 0.3.3
#0 32.67 Fetching down 5.4.0
#0 32.69 Installing css_parser 1.14.0
#0 32.69 Fetching json-schema 3.0.0
#0 32.76 Installing down 5.4.0
#0 32.76 Fetching launchy 2.5.2
#0 32.78 Installing json-schema 3.0.0
#0 32.79 Fetching aws-sdk-core 3.171.0
#0 32.85 Installing launchy 2.5.2
#0 32.85 Fetching rubocop-ast 1.28.0
#0 32.91 Installing aws-sdk-core 3.171.0
#0 32.94 Installing rubocop-ast 1.28.0
#0 32.98 Fetching loofah 2.20.0
#0 33.00 Fetching faraday 1.10.3
#0 33.05 Installing loofah 2.20.0
#0 33.05 Fetching codecov 0.6.0
#0 33.07 Installing faraday 1.10.3
#0 33.09 Fetching pry-byebug 3.10.1
#0 33.13 Installing codecov 0.6.0
#0 33.14 Fetching pry-rails 0.3.9
#0 33.15 Installing pry-byebug 3.10.1
#0 33.16 Fetching webmock 3.18.1
#0 33.20 Installing pry-rails 0.3.9
#0 33.21 Fetching domain_name 0.5.20190701
#0 33.26 Installing webmock 3.18.1
#0 33.29 Fetching argon2 2.2.0
#0 33.31 Fetching scrypt 3.0.7
#0 33.32 Installing domain_name 0.5.20190701
#0 33.33 Fetching llhttp-ffi 0.4.0
#0 33.39 Installing scrypt 3.0.7 with native extensions
#0 33.41 Installing llhttp-ffi 0.4.0 with native extensions
#0 34.11 Installing argon2 2.2.0 with native extensions
#0 34.23 Fetching mini_racer 0.6.3
#0 34.32 Installing mini_racer 0.6.3 with native extensions
#0 34.41 Fetching image_processing 1.12.2
#0 34.50 Installing image_processing 1.12.2
#0 34.50 Fetching listen 3.8.0
#0 34.59 Installing listen 3.8.0
#0 34.60 Fetching sidekiq-status 2.1.3
#0 34.71 Installing sidekiq-status 2.1.3
#0 34.72 Fetching webdrivers 5.2.0
#0 34.79 Installing webdrivers 5.2.0
#0 34.80 Fetching rails-dom-testing 2.0.3
#0 34.86 Installing rails-dom-testing 2.0.3
#0 34.86 Fetching globalid 1.1.0
#0 34.93 Installing globalid 1.1.0
#0 34.95 Fetching activemodel 7.0.4.1
#0 35.04 Installing activemodel 7.0.4.1
#0 35.05 Fetching blind_index 2.3.1
#0 35.12 Installing blind_index 2.3.1
#0 35.13 Fetching bullet 7.0.7
#0 35.17 Fetching factory_bot 6.2.1
#0 35.22 Installing bullet 7.0.7
#0 35.24 Fetching graphql-client 0.18.0
#0 35.27 Installing factory_bot 6.2.1
#0 35.28 Fetching shoulda-matchers 4.5.1
#0 35.33 Installing graphql-client 0.18.0
#0 35.34 Fetching fugit 1.8.1
#0 35.36 Installing shoulda-matchers 4.5.1
#0 35.38 Fetching mail 2.8.1
#0 35.42 Installing fugit 1.8.1
#0 35.43 Fetching premailer 1.21.0
#0 35.50 Installing premailer 1.21.0
#0 35.51 Fetching shrine 3.4.0
#0 35.53 Installing mail 2.8.1
#0 35.56 Fetching letter_opener 1.8.1
#0 35.63 Installing letter_opener 1.8.1
#0 35.63 Installing shrine 3.4.0
#0 35.64 Fetching rubocop 1.50.2
#0 35.68 Fetching aws-sdk-kms 1.63.0
#0 35.78 Installing aws-sdk-kms 1.63.0
#0 35.79 Installing rubocop 1.50.2
#0 35.80 Fetching aws-sdk-lambda 1.95.0
#0 35.83 Fetching rails-html-sanitizer 1.5.0
#0 35.89 Installing aws-sdk-lambda 1.95.0
#0 35.90 Installing rails-html-sanitizer 1.5.0
#0 35.91 Fetching elasticsearch-transport 7.13.3
#0 35.93 Fetching faraday_middleware-aws-sigv4 0.6.1
#0 35.97 Fetching signet 0.17.0
#0 36.00 Installing faraday_middleware-aws-sigv4 0.6.1
#0 36.01 Fetching http-cookie 1.0.5
#0 36.03 Installing elasticsearch-transport 7.13.3
#0 36.04 Fetching activejob 7.0.4.1
#0 36.05 Installing signet 0.17.0
#0 36.06 Fetching activerecord 7.0.4.1
#0 36.10 Installing http-cookie 1.0.5
#0 36.11 Fetching email_validator 2.2.4
#0 36.12 Installing activejob 7.0.4.1
#0 36.13 Fetching rufus-scheduler 3.8.2
#0 36.19 Installing email_validator 2.2.4
#0 36.20 Fetching aws-sdk-s3 1.121.0
#0 36.22 Installing activerecord 7.0.4.1
#0 36.23 Installing rufus-scheduler 3.8.2
#0 36.24 Fetching actionview 7.0.4.1
#0 36.32 Fetching rubocop-performance 1.16.0
#0 36.35 Installing aws-sdk-s3 1.121.0
#0 36.37 Installing actionview 7.0.4.1
#0 36.43 Fetching elasticsearch 7.13.3
#0 36.44 Installing rubocop-performance 1.16.0
#0 36.46 Fetching googleauth 0.17.1
#0 36.49 Fetching http 5.1.1
#0 36.52 Installing elasticsearch 7.13.3
#0 36.53 Fetching sidekiq-scheduler 5.0.2
#0 36.55 Installing googleauth 0.17.1
#0 36.55 Fetching friendly_id 5.4.2
#0 36.58 Installing http 5.1.1
#0 36.60 Fetching pagy_cursor 0.6.0
#0 36.61 Installing sidekiq-scheduler 5.0.2
#0 36.62 Fetching paper_trail 14.0.0
#0 36.64 Installing friendly_id 5.4.2
#0 36.65 Fetching actionpack 7.0.4.1
#0 36.67 Installing pagy_cursor 0.6.0
#0 36.67 Fetching jbuilder 2.11.5
#0 36.69 Installing paper_trail 14.0.0
#0 36.70 Fetching uppy-s3_multipart 1.2.1
#0 36.75 Installing jbuilder 2.11.5
#0 36.76 Fetching standard-performance 1.0.1
#0 36.78 Installing actionpack 7.0.4.1
#0 36.79 Installing uppy-s3_multipart 1.2.1
#0 36.80 Fetching chewy 7.3.2
#0 36.83 Fetching google-apis-core 0.11.0
#0 36.84 Installing standard-performance 1.0.1
#0 36.85 Fetching actioncable 7.0.4.1
#0 36.93 Installing google-apis-core 0.11.0
#0 36.93 Installing chewy 7.3.2
#0 36.94 Installing actioncable 7.0.4.1
#0 36.94 Fetching activestorage 7.0.4.1
#0 36.98 Fetching actionmailer 7.0.4.1
#0 37.02 Fetching railties 7.0.4.1
#0 37.03 Installing activestorage 7.0.4.1
#0 37.05 Fetching rails-controller-testing 1.0.5
#0 37.07 Installing actionmailer 7.0.4.1
#0 37.07 Fetching sprockets-rails 3.4.2
#0 37.13 Installing rails-controller-testing 1.0.5
#0 37.14 Installing railties 7.0.4.1
#0 37.15 Installing sprockets-rails 3.4.2
#0 37.16 Fetching standard 1.28.0
#0 37.20 Fetching google-apis-drive_v3 0.38.0
#0 37.23 Fetching google-apis-sheets_v4 0.22.0
#0 37.25 Installing standard 1.28.0
#0 37.26 Fetching actionmailbox 7.0.4.1
#0 37.32 Installing google-apis-sheets_v4 0.22.0
#0 37.32 Installing actionmailbox 7.0.4.1
#0 37.33 Fetching actiontext 7.0.4.1
#0 37.35 Fetching blazer 2.6.5
#0 37.41 Installing actiontext 7.0.4.1
#0 37.42 Fetching clearance 2.6.1
#0 37.49 Installing google-apis-drive_v3 0.38.0
#0 37.50 Fetching dotenv-rails 2.8.1
#0 37.52 Installing blazer 2.6.5
#0 37.52 Installing clearance 2.6.1
#0 37.57 Installing dotenv-rails 2.8.1
#0 37.58 Fetching factory_bot_rails 6.2.0
#0 37.59 Fetching letter_opener_web 2.0.0
#0 37.61 Using webpacker 6.0.0.rc.6 from https://github.com/rails/webpacker.git (at master@632fb85)
#0 37.62 Fetching rspec-rails 6.0.1
#0 37.67 Installing factory_bot_rails 6.2.0
#0 37.67 Fetching rswag-specs 2.9.0
#0 37.69 Installing letter_opener_web 2.0.0
#0 37.70 Installing rspec-rails 6.0.1
#0 37.70 Fetching web-console 4.2.0
#0 37.73 Fetching rails 7.0.4.1
#0 37.76 Installing rswag-specs 2.9.0
#0 37.77 Fetching google_drive 3.0.7
#0 37.78 Installing web-console 4.2.0
#0 37.80 Installing rails 7.0.4.1
#0 37.80 Fetching noticed 1.6.0
#0 37.80 Fetching react_on_rails 12.2.0
#0 37.88 Installing noticed 1.6.0
#0 37.92 Installing react_on_rails 12.2.0
#0 38.04 Installing google_drive 3.0.7
#0 73.99 Fetching bootstrap-email 1.4.0
#0 73.99 Fetching sassc-rails 2.1.2
#0 74.07 Installing sassc-rails 2.1.2
#0 74.08 Installing bootstrap-email 1.4.0
#0 74.09 Fetching sass-rails 6.0.0
#0 74.15 Installing sass-rails 6.0.0
#0 74.17 Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
#0 74.17 
#0 74.17     current directory: /usr/local/bundle/gems/rbsecp256k1-5.1.1/ext/rbsecp256k1
#0 74.17 /usr/local/bin/ruby -I /usr/local/lib/ruby/3.1.0 extconf.rb
Downloading libsecp256k1.zip (  0%) p (  0%) 
Downloading libsecp256k1.zip (  0%) p (  0%) 
Downloading libsecp256k1.zip (  0%) p (  0%) 
Downloading libsecp256k1.zip (  0%) p (  0%) 
Downloading libsecp256k1.zip (  0%) p (  0%) 
Downloading libsecp256k1.zip (  0%) p (  0%) 
Downloading libsecp256k1.zip (  1%) p (  1%) 
Downloading libsecp256k1.zip (  1%) p (  1%) 
Downloading libsecp256k1.zip (  1%) p (  1%) 
Downloading libsecp256k1.zip (  1%) p (  1%) 
Downloading libsecp256k1.zip (  1%) p (  1%) 
Downloading libsecp256k1.zip (  1%) p (  1%) 
Downloading libsecp256k1.zip (  2%) p (  1%) 
Downloading libsecp256k1.zip (  2%) p (  2%) 
Downloading libsecp256k1.zip (  2%) p (  2%) 
Downloading libsecp256k1.zip (  2%) p (  2%) 
Downloading libsecp256k1.zip (  2%) p (  2%) 
Downloading libsecp256k1.zip (  2%) p (  2%) 
Downloading libsecp256k1.zip (  3%) p (  2%) 
Downloading libsecp256k1.zip (  3%) p (  3%) 
Downloading libsecp256k1.zip (  3%) p (  3%) 
Downloading libsecp256k1.zip (  3%) p (  3%) 
Downloading libsecp256k1.zip (  3%) p (  3%) 
Downloading libsecp256k1.zip (  3%) p (  3%) 
Downloading libsecp256k1.zip (  4%) p (  3%) 
Downloading libsecp256k1.zip (  4%) p (  4%) 
Downloading libsecp256k1.zip (  4%) p (  4%) 
Downloading libsecp256k1.zip (  4%) p (  4%) 
Downloading libsecp256k1.zip (  4%) p (  4%) 
Downloading libsecp256k1.zip (  4%) p (  4%) 
Downloading libsecp256k1.zip (  4%) p (  4%) 
Downloading libsecp256k1.zip (  5%) p (  5%) 
Downloading libsecp256k1.zip (  5%) p (  5%) 
Downloading libsecp256k1.zip (  5%) p (  5%) 
Downloading libsecp256k1.zip (  5%) p (  5%) 
Downloading libsecp256k1.zip (  5%) p (  5%) 
Downloading libsecp256k1.zip (  5%) p (  5%) 
Downloading libsecp256k1.zip (  6%) p (  6%) 
Downloading libsecp256k1.zip (  6%) p (  6%) 
Downloading libsecp256k1.zip (  6%) p (  6%) 
Downloading libsecp256k1.zip (  6%) p (  6%) 
Downloading libsecp256k1.zip (  6%) p (  6%) 
Downloading libsecp256k1.zip (  6%) p (  6%) 
Downloading libsecp256k1.zip (  7%) p (  7%) 
Downloading libsecp256k1.zip (  7%) p (  7%) 
Downloading libsecp256k1.zip (  7%) p (  7%) 
Downloading libsecp256k1.zip (  7%) p (  7%) 
Downloading libsecp256k1.zip (  7%) p (  7%) 
Downloading libsecp256k1.zip (  7%) p (  7%) 
Downloading libsecp256k1.zip (  8%) p (  7%) 
Downloading libsecp256k1.zip (  8%) p (  8%) 
Downloading libsecp256k1.zip (  8%) p (  8%) 
Downloading libsecp256k1.zip (  8%) p (  8%) 
Downloading libsecp256k1.zip (  8%) p (  8%) 
Downloading libsecp256k1.zip (  8%) p (  8%) 
Downloading libsecp256k1.zip (  9%) p (  8%) 
Downloading libsecp256k1.zip (  9%) p (  9%) 
Downloading libsecp256k1.zip ( 10%) p (  9%) 
Downloading libsecp256k1.zip ( 12%) p ( 11%) 
Downloading libsecp256k1.zip ( 14%) p ( 13%) 
Downloading libsecp256k1.zip ( 16%) p ( 15%) 
Downloading libsecp256k1.zip ( 17%) p ( 16%) 
Downloading libsecp256k1.zip ( 19%) p ( 18%) 
Downloading libsecp256k1.zip ( 20%) p ( 20%) 
Downloading libsecp256k1.zip ( 22%) p ( 21%) 
Downloading libsecp256k1.zip ( 23%) p ( 23%) 
Downloading libsecp256k1.zip ( 25%) p ( 24%) 
Downloading libsecp256k1.zip ( 27%) p ( 26%) 
Downloading libsecp256k1.zip ( 29%) p ( 28%) 
Downloading libsecp256k1.zip ( 31%) p ( 30%) 
Downloading libsecp256k1.zip ( 33%) p ( 32%) 
Downloading libsecp256k1.zip ( 35%) p ( 34%) 
Downloading libsecp256k1.zip ( 36%) p ( 36%) 
Downloading libsecp256k1.zip ( 37%) p ( 37%) 
Downloading libsecp256k1.zip ( 39%) p ( 38%) 
Downloading libsecp256k1.zip ( 41%) p ( 40%) 
Downloading libsecp256k1.zip ( 43%) p ( 42%) 
Downloading libsecp256k1.zip ( 45%) p ( 44%) 
Downloading libsecp256k1.zip ( 47%) p ( 46%) 
Downloading libsecp256k1.zip ( 49%) p ( 48%) 
Downloading libsecp256k1.zip ( 51%) p ( 50%) 
Downloading libsecp256k1.zip ( 53%) p ( 52%) 
Downloading libsecp256k1.zip ( 55%) p ( 54%) 
Downloading libsecp256k1.zip ( 57%) p ( 56%) 
Downloading libsecp256k1.zip ( 59%) p ( 58%) 
Downloading libsecp256k1.zip ( 61%) p ( 60%) 
Downloading libsecp256k1.zip ( 63%) p ( 62%) 
Downloading libsecp256k1.zip ( 65%) p ( 64%) 
Downloading libsecp256k1.zip ( 66%) p ( 65%) 
Downloading libsecp256k1.zip ( 68%) p ( 67%) 
Downloading libsecp256k1.zip ( 70%) p ( 69%) 
Downloading libsecp256k1.zip ( 71%) p ( 70%) 
Downloading libsecp256k1.zip ( 73%) p ( 72%) 
Downloading libsecp256k1.zip ( 75%) p ( 74%) 
Downloading libsecp256k1.zip ( 77%) p ( 76%) 
Downloading libsecp256k1.zip ( 79%) p ( 78%) 
Downloading libsecp256k1.zip ( 81%) p ( 80%) 
Downloading libsecp256k1.zip ( 83%) p ( 82%) 
Downloading libsecp256k1.zip ( 85%) p ( 84%) 
Downloading libsecp256k1.zip ( 87%) p ( 86%) 
Downloading libsecp256k1.zip ( 89%) p ( 88%) 
Downloading libsecp256k1.zip ( 91%) p ( 90%) 
Downloading libsecp256k1.zip ( 92%) p ( 91%) 
Downloading libsecp256k1.zip ( 94%) p ( 93%) 
Downloading libsecp256k1.zip ( 96%) p ( 95%) 
Downloading libsecp256k1.zip ( 98%) p ( 97%) 
Downloading libsecp256k1.zip (100%)ip ( 99%) 
#0 74.17 Running 'chmod' for libsecp256k1 0.0.0... OK
#0 74.17 Running 'autogen' for libsecp256k1 0.0.0... ERROR, review
#0 74.17 '/usr/local/bundle/gems/rbsecp256k1-5.1.1/ext/rbsecp256k1/tmp/aarch64-alpine-linux-musl/ports/libsecp256k1/0.0.0/autogen.log'
#0 74.17 to see what happened. Last lines are:
#0 74.17 ========================================================================
#0 74.17 ./autogen.sh: line 3: autoreconf: not found
#0 74.17 ========================================================================
#0 74.17 *** extconf.rb failed ***
#0 74.17 Could not create Makefile due to some reason, probably lack of necessary
#0 74.17 libraries and/or headers.  Check the mkmf.log file for more details.  You may
#0 74.17 need configuration options.
#0 74.17 
#0 74.17 Provided configuration options:
#0 74.17        --with-opt-dir
#0 74.17        --without-opt-dir
#0 74.17        --with-opt-include
#0 74.17        --without-opt-include=${opt-dir}/include
#0 74.17        --with-opt-lib
#0 74.17        --without-opt-lib=${opt-dir}/lib
#0 74.17        --with-make-prog
#0 74.17        --without-make-prog
#0 74.17        --srcdir=.
#0 74.17        --curdir
#0 74.17        --ruby=/usr/local/bin/$(RUBY_BASE_NAME)
#0 74.17        --with-system-library
#0 74.17        --without-system-library
#0 74.17 /usr/local/bundle/gems/mini_portile2-2.8.1/lib/mini_portile2/mini_portile.rb:460:in
#0 74.17 `block in execute': Failed to complete autogen task (RuntimeError)
#0 74.17 from
#0 74.17 /usr/local/bundle/gems/mini_portile2-2.8.1/lib/mini_portile2/mini_portile.rb:426:in
#0 74.17 `chdir'
#0 74.17 from
#0 74.17 /usr/local/bundle/gems/mini_portile2-2.8.1/lib/mini_portile2/mini_portile.rb:426:in
#0 74.17 `execute'
#0 74.17        from extconf.rb:42:in `configure'
#0 74.17 from
#0 74.17 /usr/local/bundle/gems/mini_portile2-2.8.1/lib/mini_portile2/mini_portile.rb:186:in
#0 74.17 `cook'
#0 74.17        from extconf.rb:83:in `<main>'
#0 74.17 
#0 74.17 extconf failed, exit code 1
#0 74.17 
#0 74.17 Gem files will remain installed in /usr/local/bundle/gems/rbsecp256k1-5.1.1 for
#0 74.17 inspection.
#0 74.17 Results logged to
#0 74.17 /usr/local/bundle/extensions/aarch64-linux-musl/3.1.0/rbsecp256k1-5.1.1/gem_make.out
#0 74.17 
#0 74.17   /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:102:in `run'
#0 74.17   /usr/local/lib/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:28:in `build'
#0 74.17   /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:171:in `build_extension'
#0 74.17 /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:205:in `block in
#0 74.17 build_extensions'
#0 74.17   /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:202:in `each'
#0 74.17   /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:202:in `build_extensions'
#0 74.17   /usr/local/lib/ruby/3.1.0/rubygems/installer.rb:843:in `build_extensions'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/rubygems_gem_installer.rb:72:in
#0 74.17 `build_extensions'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/rubygems_gem_installer.rb:28:in
#0 74.17 `install'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/source/rubygems.rb:198:in
#0 74.17 `install'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/installer/gem_installer.rb:54:in
#0 74.17 `install'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/installer/gem_installer.rb:16:in
#0 74.17 `install_from_spec'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/installer/parallel_installer.rb:156:in
#0 74.17 `do_install'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/installer/parallel_installer.rb:147:in
#0 74.17 `block in worker_pool'
#0 74.17   /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/worker.rb:62:in `apply_func'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/worker.rb:57:in `block in
#0 74.17 process_queue'
#0 74.17   /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/worker.rb:54:in `loop'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/worker.rb:54:in
#0 74.17 `process_queue'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/worker.rb:90:in `block (2
#0 74.17 levels) in create_threads'
#0 74.17 
#0 74.17 An error occurred while installing rbsecp256k1 (5.1.1), and Bundler cannot
#0 74.17 continue.
#0 74.17 
#0 74.17 In Gemfile:
#0 74.17   eth was resolved to 0.5.10, which depends on
#0 74.17     rbsecp256k1
#0 74.17 
#0 74.17 
#0 74.17 Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
#0 74.17 
#0 74.17 current directory:
#0 74.17 /usr/local/bundle/gems/mini_racer-0.6.3/ext/mini_racer_extension
#0 74.17 /usr/local/bin/ruby -I /usr/local/lib/ruby/3.1.0 extconf.rb
#0 74.17 checking for -lpthread... yes
#0 74.17 checking for whether -Wl,--exclude-libs=ALL  is accepted as LDFLAGS... no
#0 74.17 creating Makefile
#0 74.17 
#0 74.17 current directory:
#0 74.17 /usr/local/bundle/gems/mini_racer-0.6.3/ext/mini_racer_extension
#0 74.17 make DESTDIR\= sitearchdir\=./.gem.20230608-1-nu68l6
#0 74.17 sitelibdir\=./.gem.20230608-1-nu68l6 clean
#0 74.17 
#0 74.17 current directory:
#0 74.17 /usr/local/bundle/gems/mini_racer-0.6.3/ext/mini_racer_extension
#0 74.17 make DESTDIR\= sitearchdir\=./.gem.20230608-1-nu68l6
#0 74.17 sitelibdir\=./.gem.20230608-1-nu68l6
#0 74.17 compiling mini_racer_extension.cc
#0 74.17 linking shared-object mini_racer_extension.so
#0 74.17 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
#0 74.17 cannot find
#0 74.17 /usr/local/bundle/gems/libv8-node-16.10.0.0-aarch64-linux/vendor/v8/aarch64-linux-musl/libv8/obj/libv8_monolith.a:
#0 74.17 No such file or directory
#0 74.17 collect2: error: ld returned 1 exit status
#0 74.17 make: *** [Makefile:264: mini_racer_extension.so] Error 1
#0 74.17 
#0 74.17 make failed, exit code 2
#0 74.17 
#0 74.17 Gem files will remain installed in /usr/local/bundle/gems/mini_racer-0.6.3 for
#0 74.17 inspection.
#0 74.17 Results logged to
#0 74.17 /usr/local/bundle/extensions/aarch64-linux-musl/3.1.0/mini_racer-0.6.3/gem_make.out
#0 74.17 
#0 74.17   /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:102:in `run'
#0 74.17   /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:51:in `block in make'
#0 74.17   /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:43:in `each'
#0 74.17   /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:43:in `make'
#0 74.17   /usr/local/lib/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:42:in `build'
#0 74.17   /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:171:in `build_extension'
#0 74.17 /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:205:in `block in
#0 74.17 build_extensions'
#0 74.17   /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:202:in `each'
#0 74.17   /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:202:in `build_extensions'
#0 74.17   /usr/local/lib/ruby/3.1.0/rubygems/installer.rb:843:in `build_extensions'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/rubygems_gem_installer.rb:72:in
#0 74.17 `build_extensions'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/rubygems_gem_installer.rb:28:in
#0 74.17 `install'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/source/rubygems.rb:198:in
#0 74.17 `install'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/installer/gem_installer.rb:54:in
#0 74.17 `install'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/installer/gem_installer.rb:16:in
#0 74.17 `install_from_spec'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/installer/parallel_installer.rb:156:in
#0 74.17 `do_install'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/installer/parallel_installer.rb:147:in
#0 74.17 `block in worker_pool'
#0 74.17   /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/worker.rb:62:in `apply_func'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/worker.rb:57:in `block in
#0 74.17 process_queue'
#0 74.17   /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/worker.rb:54:in `loop'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/worker.rb:54:in
#0 74.17 `process_queue'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/worker.rb:90:in `block (2
#0 74.17 levels) in create_threads'
#0 74.17 
#0 74.17 An error occurred while installing mini_racer (0.6.3), and Bundler cannot
#0 74.17 continue.
#0 74.17 
#0 74.17 In Gemfile:
#0 74.17   mini_racer
#0 74.17 
#0 74.17 
#0 74.17 Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
#0 74.17 
#0 74.17     current directory: /usr/local/bundle/gems/rmagick-5.2.0/ext/RMagick
#0 74.17 /usr/local/bin/ruby -I /usr/local/lib/ruby/3.1.0 extconf.rb
#0 74.17 checking for brew... no
#0 74.17 checking for pacman... no
#0 74.17 checking for Ruby version >= 2.3.0... yes
#0 74.17 *** extconf.rb failed ***
#0 74.17 Could not create Makefile due to some reason, probably lack of necessary
#0 74.17 libraries and/or headers.  Check the mkmf.log file for more details.  You may
#0 74.17 need configuration options.
#0 74.17 
#0 74.17 Provided configuration options:
#0 74.17        --with-opt-dir
#0 74.17        --without-opt-dir
#0 74.17        --with-opt-include
#0 74.17        --without-opt-include=${opt-dir}/include
#0 74.17        --with-opt-lib
#0 74.17        --without-opt-lib=${opt-dir}/lib
#0 74.17        --with-make-prog
#0 74.17        --without-make-prog
#0 74.17        --srcdir=.
#0 74.17        --curdir
#0 74.17        --ruby=/usr/local/bin/$(RUBY_BASE_NAME)
#0 74.17        --with-pkg-config
#0 74.17        --without-pkg-config
#0 74.17        --with-override-variables
#0 74.17        --without-override-variables
#0 74.17 /usr/local/bundle/gems/pkg-config-1.5.1/lib/pkg-config.rb:500:in `parse_pc': .pc
#0 74.17 doesn't exist: <MagickCore> (PackageConfig::NotFoundError)
#0 74.17 from /usr/local/bundle/gems/pkg-config-1.5.1/lib/pkg-config.rb:344:in
#0 74.17 `declaration'
#0 74.17 from /usr/local/bundle/gems/pkg-config-1.5.1/lib/pkg-config.rb:285:in
#0 74.17 `requires'
#0 74.17 from /usr/local/bundle/gems/pkg-config-1.5.1/lib/pkg-config.rb:541:in `block in
#0 74.17 required_packages'
#0 74.17 from /usr/local/bundle/gems/pkg-config-1.5.1/lib/pkg-config.rb:370:in
#0 74.17 `collect_requires'
#0 74.17 from /usr/local/bundle/gems/pkg-config-1.5.1/lib/pkg-config.rb:540:in
#0 74.17 `required_packages'
#0 74.17 from /usr/local/bundle/gems/pkg-config-1.5.1/lib/pkg-config.rb:448:in
#0 74.17 `collect_libs'
#0 74.17        from /usr/local/bundle/gems/pkg-config-1.5.1/lib/pkg-config.rb:306:in `libs'
#0 74.17        from /usr/local/bundle/gems/pkg-config-1.5.1/lib/pkg-config.rb:587:in `libs'
#0 74.17        from extconf.rb:340:in `assert_has_dev_libs!'
#0 74.17        from extconf.rb:317:in `assert_can_compile!'
#0 74.17        from extconf.rb:46:in `initialize'
#0 74.17        from extconf.rb:441:in `new'
#0 74.17        from extconf.rb:441:in `<main>'
#0 74.17 
#0 74.17 To see why this extension failed to compile, please check the mkmf.log which can
#0 74.17 be found here:
#0 74.17 
#0 74.17   /usr/local/bundle/extensions/aarch64-linux-musl/3.1.0/rmagick-5.2.0/mkmf.log
#0 74.17 
#0 74.17 extconf failed, exit code 1
#0 74.17 
#0 74.17 Gem files will remain installed in /usr/local/bundle/gems/rmagick-5.2.0 for
#0 74.17 inspection.
#0 74.17 Results logged to
#0 74.17 /usr/local/bundle/extensions/aarch64-linux-musl/3.1.0/rmagick-5.2.0/gem_make.out
#0 74.17 
#0 74.17   /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:102:in `run'
#0 74.17   /usr/local/lib/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:28:in `build'
#0 74.17   /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:171:in `build_extension'
#0 74.17 /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:205:in `block in
#0 74.17 build_extensions'
#0 74.17   /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:202:in `each'
#0 74.17   /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:202:in `build_extensions'
#0 74.17   /usr/local/lib/ruby/3.1.0/rubygems/installer.rb:843:in `build_extensions'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/rubygems_gem_installer.rb:72:in
#0 74.17 `build_extensions'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/rubygems_gem_installer.rb:28:in
#0 74.17 `install'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/source/rubygems.rb:198:in
#0 74.17 `install'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/installer/gem_installer.rb:54:in
#0 74.17 `install'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/installer/gem_installer.rb:16:in
#0 74.17 `install_from_spec'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/installer/parallel_installer.rb:156:in
#0 74.17 `do_install'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/installer/parallel_installer.rb:147:in
#0 74.17 `block in worker_pool'
#0 74.17   /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/worker.rb:62:in `apply_func'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/worker.rb:57:in `block in
#0 74.17 process_queue'
#0 74.17   /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/worker.rb:54:in `loop'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/worker.rb:54:in
#0 74.17 `process_queue'
#0 74.17 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/worker.rb:90:in `block (2
#0 74.17 levels) in create_threads'
#0 74.17 
#0 74.17 An error occurred while installing rmagick (5.2.0), and Bundler cannot continue.
#0 74.17 
#0 74.17 In Gemfile:
#0 74.17   rmagick
------
failed to solve: process "/bin/sh -c bundle install" did not complete successfully: exit code: 5

@RubenSousaDinis
Copy link
Author

RubenSousaDinis commented Jun 9, 2023

@m1guelpf our project setup is a bit complicated since it requires database and environment configuration.

I've updated how it is being used in our app and now I can close the modal if I click outside the modal.

The only issue is the click on the X button now.

I've placed this in the component code and it's not called when I click the X button:

  useEffect(() => {
    console.log("Open changed to: ", open);
  }, [open]);

https://github.com/talentprotocol/web-dapp/pull/1267/files#diff-2453bf730ba31ecc611c0c2cb3d6bb7f1c88ffd20a3ea6a195601e157a3a7274R11.

Is it possible to reproduce this in a react test app you might have to test hooks usage?

@Yokymia32
Copy link

Nice

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

No branches or pull requests

4 participants
@RubenSousaDinis @m1guelpf @Yokymia32 and others