What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

I started to have a lot of issues with js assets today when running `vendor/bin/console frontend:zed

UK5DS29L2
UK5DS29L2 Posts: 546 πŸ§‘πŸ»β€πŸš€ - Cadet
edited October 2019 in Help

I started to have a lot of issues with js assets today when running vendor/bin/console frontend:zed:build:


npm install nor install-dependencies commands do not fix the issue. How can I find out what's wrong/fix this?

Comments

  • ULL0N440J
    ULL0N440J Posts: 184 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited October 2019

    Had jQuery missing a while ago, too. Which version of spryker/gui do you have installed?

    Running for me:

    "name": "spryker/gui",
    "version": "3.24.1",
    
  • ULL0N440J
    ULL0N440J Posts: 184 πŸ§‘πŸ»β€πŸš€ - Cadet

    Do you have jquery import in commons.js ?

    And make sure you have jquery dependency in package.json of Gui module

  • UK5DS29L2
    UK5DS29L2 Posts: 546 πŸ§‘πŸ»β€πŸš€ - Cadet

    let me bind composer to your version and check

  • UK5DS29L2
    UK5DS29L2 Posts: 546 πŸ§‘πŸ»β€πŸš€ - Cadet

    vendor/spryker/gui/assets/Zed/package.json definitely has it in its package.json, and yes it's in common.js of the spryker module

  • UK5DS29L2
    UK5DS29L2 Posts: 546 πŸ§‘πŸ»β€πŸš€ - Cadet

    but MAYBE I'm simply missing something...
    is that all that's needed?


    ?

  • UK5DS29L2
    UK5DS29L2 Posts: 546 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited October 2019

    oooook, so turns out spryker/shop-suite master branch is broken the same way

  • UL6U90C5A
    UL6U90C5A Posts: 2 πŸ§‘πŸ»β€πŸš€ - Cadet

    isn’t


    also necessary?

  • UK5DS29L2
    UK5DS29L2 Posts: 546 πŸ§‘πŸ»β€πŸš€ - Cadet

    even if it is, it doesn't change the outcome, build still fails πŸ˜‰

  • ULL0N440J
    ULL0N440J Posts: 184 πŸ§‘πŸ»β€πŸš€ - Cadet

    Hey @UK5DS29L2 do you know more meanwhile? I'm facing the issue again..

  • UK5DS29L2
    UK5DS29L2 Posts: 546 πŸ§‘πŸ»β€πŸš€ - Cadet

    yeah, i did workaround it with runnint yarn install in dep folders

  • UK5DS29L2
    UK5DS29L2 Posts: 546 πŸ§‘πŸ»β€πŸš€ - Cadet

    made a doc for this case