question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

storefront installer seems to halt

See original GitHub issue

Hi there, I am trying to install vue-storefront but experience this error

Environment details

  • Browser: N/a
  • OS: MacOS 10.14.3
  • Node: v11.9.0

Current behavior

Build storefront npm...
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ ERROR                                                                                                               β”‚
β”‚                                                                                                                     β”‚
β”‚ Error: Can't build storefront npm.                                                                                  β”‚
β”‚     at Promise (/vue-storefront-demo/vue-storefront/core/scripts/installer.js:478:16)             β”‚
β”‚     at new Promise (<anonymous>)                                                                                    β”‚
β”‚     at Storefront.npmBuild (/vue-storefront-demo/vue-storefront/core/scripts/installer.js:474:12) β”‚
β”‚                                                                                                                     β”‚
β”‚ Please check log file for details: /vue-storefront-demo/vue-storefront/var/log/install.log

install.log

Cloning into '../vue-storefront-api'...
npm WARN lifecycle The node binary used for scripts is /var/folders/2m/g2s_zt790dv06fzrg_qn28bw0000gn/T/yarn--1552386594369-0.8316919989310463/node but npm is using /usr/local/Cellar/node/11.9.0/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.

> fsevents@1.2.7 install /Users/odp/Desktop/vue-storefront-demo/vue-storefront-api/node_modules/fsevents
> node install

node-pre-gyp WARN Using request for node-pre-gyp https download
[fsevents] Success: "/Users/odp/Desktop/vue-storefront-demo/vue-storefront-api/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64/fse.node" is installed via remote

> sharp@0.21.3 install /Users/odp/Desktop/vue-storefront-demo/vue-storefront-api/node_modules/sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)

info sharp Using cached /Users/odp/.npm/_libvips/libvips-8.7.0-darwin-x64.tar.gz

> nodemon@1.18.10 postinstall /Users/odp/Desktop/vue-storefront-demo/vue-storefront-api/node_modules/nodemon
> node bin/postinstall || exit 0

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN merge-graphql-schemas@1.5.8 requires a peer of graphql@^0.11.7 || ^0.13.0 || ^14.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.

added 985 packages from 698 contributors and audited 11012 packages in 20.954s
found 1 low severity vulnerability
  run `npm audit fix` to fix them, or `npm audit` for details
npm WARN lifecycle The node binary used for scripts is /var/folders/2m/g2s_zt790dv06fzrg_qn28bw0000gn/T/yarn--1552386594369-0.8316919989310463/node but npm is using /usr/local/Cellar/node/11.9.0/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.

> vue-storefront-api@0.1.0 restore /Users/odp/Desktop/vue-storefront-demo/vue-storefront-api
> node scripts/elastic.js restore

Tue, 12 Mar 2019 10:30:59 GMT | starting dump
Tue, 12 Mar 2019 10:30:59 GMT | got 100 objects from source file (offset: 0)
Tue, 12 Mar 2019 10:31:00 GMT | sent 100 objects to destination elasticsearch, wrote 100
Tue, 12 Mar 2019 10:31:00 GMT | got 132 objects from source file (offset: 100)
Tue, 12 Mar 2019 10:31:00 GMT | sent 132 objects to destination elasticsearch, wrote 132
Tue, 12 Mar 2019 10:31:00 GMT | got 102 objects from source file (offset: 232)
Tue, 12 Mar 2019 10:31:01 GMT | sent 102 objects to destination elasticsearch, wrote 102
Tue, 12 Mar 2019 10:31:01 GMT | got 104 objects from source file (offset: 334)
Tue, 12 Mar 2019 10:31:01 GMT | sent 104 objects to destination elasticsearch, wrote 104
Tue, 12 Mar 2019 10:31:01 GMT | got 109 objects from source file (offset: 438)
Tue, 12 Mar 2019 10:31:01 GMT | sent 109 objects to destination elasticsearch, wrote 109
Tue, 12 Mar 2019 10:31:01 GMT | got 170 objects from source file (offset: 547)
Tue, 12 Mar 2019 10:31:01 GMT | sent 170 objects to destination elasticsearch, wrote 170
Tue, 12 Mar 2019 10:31:01 GMT | got 106 objects from source file (offset: 717)
Tue, 12 Mar 2019 10:31:01 GMT | sent 106 objects to destination elasticsearch, wrote 106
Tue, 12 Mar 2019 10:31:01 GMT | got 101 objects from source file (offset: 823)
Tue, 12 Mar 2019 10:31:02 GMT | sent 101 objects to destination elasticsearch, wrote 101
Tue, 12 Mar 2019 10:31:02 GMT | got 109 objects from source file (offset: 924)
Tue, 12 Mar 2019 10:31:02 GMT | sent 109 objects to destination elasticsearch, wrote 109
Tue, 12 Mar 2019 10:31:02 GMT | got 108 objects from source file (offset: 1033)
Tue, 12 Mar 2019 10:31:02 GMT | sent 108 objects to destination elasticsearch, wrote 108
Tue, 12 Mar 2019 10:31:02 GMT | got 105 objects from source file (offset: 1141)
Tue, 12 Mar 2019 10:31:02 GMT | sent 105 objects to destination elasticsearch, wrote 105
Tue, 12 Mar 2019 10:31:02 GMT | got 115 objects from source file (offset: 1246)
Tue, 12 Mar 2019 10:31:02 GMT | sent 115 objects to destination elasticsearch, wrote 115
Tue, 12 Mar 2019 10:31:02 GMT | got 103 objects from source file (offset: 1361)
Tue, 12 Mar 2019 10:31:02 GMT | sent 103 objects to destination elasticsearch, wrote 103
Tue, 12 Mar 2019 10:31:02 GMT | got 108 objects from source file (offset: 1464)
Tue, 12 Mar 2019 10:31:03 GMT | sent 108 objects to destination elasticsearch, wrote 108
Tue, 12 Mar 2019 10:31:03 GMT | got 151 objects from source file (offset: 1572)
Tue, 12 Mar 2019 10:31:03 GMT | sent 151 objects to destination elasticsearch, wrote 151
Tue, 12 Mar 2019 10:31:03 GMT | got 125 objects from source file (offset: 1723)
Tue, 12 Mar 2019 10:31:03 GMT | sent 125 objects to destination elasticsearch, wrote 125
Tue, 12 Mar 2019 10:31:03 GMT | got 109 objects from source file (offset: 1848)
Tue, 12 Mar 2019 10:31:03 GMT | sent 109 objects to destination elasticsearch, wrote 109
Tue, 12 Mar 2019 10:31:03 GMT | got 107 objects from source file (offset: 1957)
Tue, 12 Mar 2019 10:31:03 GMT | sent 107 objects to destination elasticsearch, wrote 107
Tue, 12 Mar 2019 10:31:03 GMT | got 177 objects from source file (offset: 2064)
Tue, 12 Mar 2019 10:31:03 GMT | sent 177 objects to destination elasticsearch, wrote 177
Tue, 12 Mar 2019 10:31:03 GMT | got 103 objects from source file (offset: 2241)
Tue, 12 Mar 2019 10:31:03 GMT | sent 103 objects to destination elasticsearch, wrote 103
Tue, 12 Mar 2019 10:31:04 GMT | got 107 objects from source file (offset: 2344)
Tue, 12 Mar 2019 10:31:04 GMT | sent 107 objects to destination elasticsearch, wrote 107
Tue, 12 Mar 2019 10:31:04 GMT | got 120 objects from source file (offset: 2451)
Tue, 12 Mar 2019 10:31:04 GMT | sent 120 objects to destination elasticsearch, wrote 120
Tue, 12 Mar 2019 10:31:04 GMT | got 28 objects from source file (offset: 2571)
Tue, 12 Mar 2019 10:31:04 GMT | sent 28 objects to destination elasticsearch, wrote 28
Tue, 12 Mar 2019 10:31:04 GMT | got 0 objects from source file (offset: 2599)
Tue, 12 Mar 2019 10:31:04 GMT | Total Writes: 2599
Tue, 12 Mar 2019 10:31:04 GMT | dump complete

npm WARN lifecycle The node binary used for scripts is /var/folders/2m/g2s_zt790dv06fzrg_qn28bw0000gn/T/yarn--1552386594369-0.8316919989310463/node but npm is using /usr/local/Cellar/node/11.9.0/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.

> vue-storefront-api@0.1.0 migrate /Users/odp/Desktop/vue-storefront-demo/vue-storefront-api
> node node_modules/migrate/bin/migrate

Elasticsearch INFO: 2019-03-12T10:31:05Z
  Adding connection to http://localhost:9200/

  up : 1513602693128-create_new_index.js
Elasticsearch DEBUG: 2019-03-12T10:31:05Z
  starting request {
    "method": "DELETE",
    "path": "/*/_alias/vue_storefront_catalog",
    "query": {}
  }


Elasticsearch DEBUG: 2019-03-12T10:31:05Z
  Request complete

Public index alias does not exists [aliases_not_found_exception] aliases [vue_storefront_catalog] missing, with { resource.type="aliases" & resource.id="vue_storefront_catalog" }
Elasticsearch DEBUG: 2019-03-12T10:31:05Z
  starting request {
    "method": "DELETE",
    "path": "/vue_storefront_catalog",
    "query": {}
  }


Elasticsearch DEBUG: 2019-03-12T10:31:05Z
  Request complete

{ acknowledged: true }
Elasticsearch DEBUG: 2019-03-12T10:31:05Z
  starting request {
    "method": "PUT",
    "path": "/vue_storefront_catalog",
    "body": {
      "settings": {
        "analysis": {
          "tokenizer": {
            "comma": {
              "type": "pattern",
              "pattern": ","
            }
          },
          "analyzer": {
            "comma": {
              "type": "custom",
              "tokenizer": "comma"
            }
          }
        }
      }
    },
    "query": {}
  }


Elasticsearch DEBUG: 2019-03-12T10:31:05Z
  Request complete

{ acknowledged: true,
  shards_acknowledged: true,
  index: 'vue_storefront_catalog' }
  up : 1513602868543-change_field_types.js
Elasticsearch DEBUG: 2019-03-12T10:31:05Z
  starting request {
    "method": "PUT",
    "path": "/vue_storefront_catalog/_mapping/product",
    "body": {
      "properties": {
        "sku": {
          "type": "keyword"
        },
        "url_key": {
          "type": "keyword"
        },
        "url_path": {
          "type": "keyword"
        },
        "slug": {
          "type": "keyword"
        },
        "size": {
          "type": "integer"
        },
        "size_options": {
          "type": "integer"
        },
        "price": {
          "type": "float"
        },
        "has_options": {
          "type": "integer"
        },
        "special_price": {
          "type": "float"
        },
        "color": {
          "type": "integer"
        },
        "color_options": {
          "type": "integer"
        },
        "pattern": {
          "type": "text"
        },
        "id": {
          "type": "long"
        },
        "status": {
          "type": "integer"
        },
        "weight": {
          "type": "integer"
        },
        "visibility": {
          "type": "integer"
        },
        "created_at": {
          "type": "date",
          "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"
        },
        "updated_at": {
          "type": "date",
          "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"
        },
        "special_from_date": {
          "type": "date",
          "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"
        },
        "special_to_date": {
          "type": "date",
          "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"
        },
        "news_from_date": {
          "type": "date",
          "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"
        },
        "news_to_date": {
          "type": "date",
          "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"
        },
        "description": {
          "type": "text"
        },
        "name": {
          "type": "text"
        },
        "configurable_children": {
          "properties": {
            "url_key": {
              "type": "keyword"
            },
            "sku": {
              "type": "keyword"
            },
            "has_options": {
              "type": "boolean"
            },
            "price": {
              "type": "float"
            },
            "special_price": {
              "type": "float"
            }
          }
        },
        "configurable_options": {
          "properties": {
            "attribute_id": {
              "type": "long"
            },
            "default_label": {
              "type": "text"
            },
            "label": {
              "type": "text"
            },
            "frontend_label": {
              "type": "text"
            },
            "store_label": {
              "type": "text"
            },
            "values": {
              "properties": {
                "default_label": {
                  "type": "text"
                },
                "label": {
                  "type": "text"
                },
                "frontend_label": {
                  "type": "text"
                },
                "store_label": {
                  "type": "text"
                },
                "value_index": {
                  "type": "keyword"
                }
              }
            }
          }
        },
        "category_ids": {
          "type": "long"
        },
        "eco_collection": {
          "type": "integer"
        },
        "eco_collection_options": {
          "type": "integer"
        },
        "erin_recommends": {
          "type": "integer"
        },
        "tax_class_id": {
          "type": "integer"
        },
        "position": {
          "type": "integer"
        },
        "required_options": {
          "type": "integer"
        },
        "Size_options": {
          "type": "keyword"
        },
        "Color_options": {
          "type": "keyword"
        }
      }
    },
    "query": {}
  }


Elasticsearch DEBUG: 2019-03-12T10:31:05Z
  Request complete

{ acknowledged: true }
Elasticsearch DEBUG: 2019-03-12T10:31:05Z
  starting request {
    "method": "PUT",
    "path": "/vue_storefront_catalog/_mapping/taxrule",
    "body": {
      "properties": {
        "id": {
          "type": "long"
        },
        "rates": {
          "properties": {
            "rate": {
              "type": "float"
            }
          }
        }
      }
    },
    "query": {}
  }


Elasticsearch DEBUG: 2019-03-12T10:31:05Z
  Request complete

{ acknowledged: true }
Elasticsearch DEBUG: 2019-03-12T10:31:05Z
  starting request {
    "method": "PUT",
    "path": "/vue_storefront_catalog/_mapping/attribute",
    "body": {
      "properties": {
        "id": {
          "type": "long"
        },
        "attribute_id": {
          "type": "long"
        },
        "options": {
          "properties": {
            "value": {
              "type": "text",
              "index": "not_analyzed"
            }
          }
        }
      }
    },
    "query": {}
  }


Elasticsearch DEBUG: 2019-03-12T10:31:05Z
  Request complete

{ acknowledged: true }
Elasticsearch DEBUG: 2019-03-12T10:31:05Z
  starting request {
    "method": "PUT",
    "path": "/vue_storefront_catalog/_mapping/cms_page",
    "body": {
      "properties": {
        "id": {
          "type": "long"
        },
        "identifier": {
          "type": "keyword"
        },
        "creation_time": {
          "type": "date",
          "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"
        },
        "update_time": {
          "type": "date",
          "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"
        }
      }
    },
    "query": {}
  }


Elasticsearch DEBUG: 2019-03-12T10:31:05Z
  Request complete

{ acknowledged: true }
Elasticsearch DEBUG: 2019-03-12T10:31:05Z
  starting request {
    "method": "PUT",
    "path": "/vue_storefront_catalog/_mapping/cms_block",
    "body": {
      "properties": {
        "id": {
          "type": "long"
        },
        "identifier": {
          "type": "keyword"
        },
        "creation_time": {
          "type": "date",
          "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"
        },
        "update_time": {
          "type": "date",
          "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"
        }
      }
    },
    "query": {}
  }


Elasticsearch DEBUG: 2019-03-12T10:31:05Z
  Request complete

{ acknowledged: true }
Elasticsearch DEBUG: 2019-03-12T10:31:05Z
  starting request {
    "method": "PUT",
    "path": "/vue_storefront_catalog/_mapping/category",
    "body": {
      "properties": {
        "url_key": {
          "type": "keyword"
        },
        "url_path": {
          "type": "keyword"
        },
        "slug": {
          "type": "keyword"
        },
        "is_active": {
          "type": "boolean"
        },
        "product_count": {
          "type": "integer"
        },
        "parent_id": {
          "type": "integer"
        },
        "created_at": {
          "type": "date",
          "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"
        },
        "updated_at": {
          "type": "date",
          "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"
        }
      }
    },
    "query": {}
  }


Elasticsearch DEBUG: 2019-03-12T10:31:05Z
  Request complete

{ acknowledged: true }
  up : 1513603161654-reindex.js
Elasticsearch DEBUG: 2019-03-12T10:31:05Z
  starting request {
    "method": "POST",
    "path": "/_reindex",
    "body": {
      "source": {
        "index": "vue_storefront_catalog_temp"
      },
      "dest": {
        "index": "vue_storefront_catalog"
      }
    },
    "query": {}
  }


Elasticsearch DEBUG: 2019-03-12T10:31:07Z
  Request complete

{ took: 2080,
  timed_out: false,
  total: 2599,
  updated: 0,
  created: 2599,
  deleted: 0,
  batches: 3,
  version_conflicts: 0,
  noops: 0,
  retries: { bulk: 0, search: 0 },
  throttled_millis: 0,
  requests_per_second: -1,
  throttled_until_millis: 0,
  failures: [] }
  up : 1513603418700-delete_old_index.js
Elasticsearch DEBUG: 2019-03-12T10:31:07Z
  starting request {
    "method": "DELETE",
    "path": "/vue_storefront_catalog_temp",
    "query": {}
  }


Elasticsearch DEBUG: 2019-03-12T10:31:07Z
  Request complete

{ acknowledged: true }
  up : 1530101328854-local_es_config_fix.js
Searching for deprecated parameters in file '/Users/odp/Desktop/vue-storefront-demo/vue-storefront-api/config/custom-environment-variables.json'...
File '/Users/odp/Desktop/vue-storefront-demo/vue-storefront-api/config/custom-environment-variables.json' updated.
Searching for deprecated parameters in file '/Users/odp/Desktop/vue-storefront-demo/vue-storefront-api/config/local.json'...
File '/Users/odp/Desktop/vue-storefront-demo/vue-storefront-api/config/local.json' updated.
  migration : complete
Cloning into 'var/magento2-sample-data'...

Is it timing out?

Since vue-storefront want node version <11.x I tried to downgrade via brew. That does not seem to change the scenario.

Environment details Updated

  • Browser: N/a
  • OS: MacOS 10.14.3
  • Node: v10.15.2
  • Yarn: v1.13.0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
arimuscommented, May 15, 2019

Just a note for anyone else running into this ticket when finding this problem, without brew being the issue. I mistakenly believed that I could npm install instead of yarn, so the dependencies didn’t get properly installed (as this project is using workspaces) and the build broke when it got to the compilation step.

1reaction
pkarwcommented, Mar 19, 2019

Hi @0dp how are things with this one?

Read more comments on GitHub >

github_iconTop Results From Across the Web

storefront installer seems to halt Β· Issue #2583 - GitHub
Hi there, I am trying to install vue-storefront but experience this error Environment details Browser: N/a OS: MacOS 10.14.3 Node: v11.9.0Β ...
Read more >
Troubleshoot StoreFront | StoreFront 1912 LTSR
When StoreFront is installed or uninstalled, the following log files ... the StoreFront installer in the C:\Windows\Temp\StoreFront directory.
Read more >
StoreFront 2203 LTSR CU2 through 3.5 – Basic Configuration
For load balancers that can terminate SSL (e.g., Citrix ADC), the StoreFront IIS server certificate should match the StoreFront server name. If StoreFront...
Read more >
Troubleshooting StoreFront - LSU Health New Orleans
Usually the best solution is to simply uninstall the existing Citrix Receiver/Workspace from your workstation, and then install the latest version of CitrixΒ ......
Read more >
Storefront: Mac Install Instructions - Munson Healthcare
If you have not Setup Two Factor, Please go to the Section at the End of ... Double Click the "Install Citrix Workspace"...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found