Re: Development of an app

How can I fix deploy errors in my Nextjs, React app integration?

dangorea
Shopify Partner
2 0 0

Hi, I want to integrate into the Shopify store my app (Nextjs, React) through an Iframe, but the main problems are based on deploy errors and my app doesn't appear in-app embeds, maybe somebody can help me?

I'm using Shopify CLI version: 3.49.3, when I'm trying to do:

shopify app deploy

I received such error like this one:

/snap/ruby/317/lib/ruby/3.2.0/bundler/installer/parallel_installer.rb:147:in
`block in worker_pool'
  /snap/ruby/317/lib/ruby/3.2.0/bundler/worker.rb:62:in `apply_func'
  /snap/ruby/317/lib/ruby/3.2.0/bundler/worker.rb:57:in `block in process_queue'
  /snap/ruby/317/lib/ruby/3.2.0/bundler/worker.rb:54:in `loop'
  /snap/ruby/317/lib/ruby/3.2.0/bundler/worker.rb:54:in `process_queue'
/snap/ruby/317/lib/ruby/3.2.0/bundler/worker.rb:90:in `block (2 levels) in
create_threads'

An error occurred while installing racc (1.7.1), and Bundler cannot continue.

In Gemfile:
  theme-check was resolved to 1.15.0, which depends on
    nokogiri was resolved to 1.15.4, which depends on
      racc
Fetching gem metadata from https://rubygems.org/........
Resolving dependencies...
Using ast 2.4.2
Using bundler 2.4.10
Using liquid 5.4.0
Installing racc 1.7.1 with native extensions

I tried locally to fix this issue, but I didn't have any results.


What could I do to fix this issue, I'll be very grateful if somebody has a solution for this issue.

Replies 4 (4)

ShopDoctors
Shopify Partner
46 2 17

Having the same issue on Ruby 3.2.2. Seems to work fine on another machine with Ruby 3.0 but still trying to figure out exactly what the root cause is.

ShopDoctors
Shopify Partner
46 2 17

Downgrading Ruby to 3.1 did fix it for us.

dangorea
Shopify Partner
2 0 0

Thank you for suggestion, but how make my extensions appear in the App embed and integrate into the website, do you know?

harshpatel
Shopify Partner
23 2 5

To make extensions appear in the App Embeddeds you need to configure schema inside block file like this.

{% schema %}
{
"name": "Body Assets",
"target": "body",
"settings":[

]
}
{% endschema %}

Harsh Patel