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..

Does anyone have integrated Braintree in Spryker so far? We get some errors in console `frontend:yve

UKKEX8U6L
UKKEX8U6L Posts: 11 🧑🏻‍🚀 - Cadet

Does anyone have integrated Braintree in Spryker so far?
We get some errors in console frontend:yves:build even after running console frontend:project:install-dependenciesand console frontend:yves:install-dependencies

Error Message:

ERROR in ./vendor/spryker-eco/braintree/src/SprykerEco/Yves/Braintree/Theme/default/components/molecules/braintree-pay-pal-express/braintree-pay-pal-express.ts
Module not found: Error: Can't resolve 'braintree-web/client' in '/data/shop/development/current/vendor/spryker-eco/braintree/src/SprykerEco/Yves/Braintree/Theme/default/components/molecules/braintree-pay-pal-express'
 @ ./vendor/spryker-eco/braintree/src/SprykerEco/Yves/Braintree/Theme/default/components/molecules/braintree-pay-pal-express/braintree-pay-pal-express.ts 50:0-42 74:8-14
 @ ./vendor/spryker-eco/braintree/src/SprykerEco/Yves/Braintree/Theme/default/components/molecules/braintree-pay-pal-express/index.ts

Comments

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Hi Stephan, I forwarded your problem internally and this is what I got in return:

    Looks like npm wasn't run for installing new dependencies or package.json is not updated
    
  • UKKEX8U6L
    UKKEX8U6L Posts: 11 🧑🏻‍🚀 - Cadet

    but this is what console frontend:yves:install-dependenciesdoes?
    At least it looks like

        public function getYvesInstallCommand()
        {
            return 'npm ci --prefer-offline';
        }