Spryker installation is failing at Section build-static stage / dashboard
I tried to install Spryker b2b on my system. I reset the local using docker/sdk reset and tried to do fresh setup with new b2b-demo-shop code.
My installation is getting failed. I have attached screenshot. Maybe Spryker docker build is getting failed.
I tried in multiple devices and getting the same error.
Answers
-
It's very unfortunate, @dipen.vyas .
Default recommendation is to remove node_modules folder and rerun install.
But I suggest you to run the same command in a debug mode:
console f:p:i -vvv
And then react to the errors you encounter.
0 -
Hi @profuel and @dipen.vyas ,
i actually have the same problem.
Unfortunately, executing the commandconsole f:p:i -vvv
individually does not lead to an error. The command works without any error message.
It only doesn't work with adocker/sdk up
.
Do you have any solutions so far? Thanks for your answer0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,082 ⚖️ - Guardians (admin)
Heyhey,
what about
docker/sdk up -v
does this give any more output?All the best,
Florian
1 -
Hi devs,
i have a problem building my projects dicussed in here
But the thread was closed and i don't know why. The answer for the last question is no. 'docker/sdk up -v' doesn't show any other news.
Had someone any ideas?0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,082 ⚖️ - Guardians (admin)
Heyhey,
whenever sb marks a thread resolved it seems to get closed. I opened it again and merged your question.
I'll ask internally for more ideas. Will come back later to you.
All the best,
Florian
1 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,082 ⚖️ - Guardians (admin)
Another idea:
Execute
npm ci
inside the cli from project root folder.0 -
Thanks for the answer.
npm ci
and a manual call toconsole f:p:i
' also runs without error. But since I'm stuck in adocker/sdk up
, I'm missing all the remaining commands and containers.
If i rundocker/sdk up
after the manual call ofdocker/sdk console f:p:i
ordocker/sdk cli npm install
it will stuck on the following part.0 -
I also got this problem on windows + wsl:
The "dashboard"-Container takes way to long with its npm.
When the commands run, sometimes i can read, that the "package.json.lock is too old" and it recreates it.
Thus none of your mentioned commands will help here :(1 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,082 ⚖️ - Guardians (admin)
Heyhey,
do you have the latest docker-sdk (master)?
Have a look here:All the best,
Florian
0 -
Hi Team,
I've encountered an issue while setting up a B2B Marketplace Demo Shop in my local system. docker/sdk up command doesn't gets finished and gets stuck during the dashboard setup step. I'm not sure whether mac users are also facing the same issue because I'm using Windows 11 for the setup. It hangs while executing following command :-npm install log.io pm2 -g
I've checked the dashboard's image dockerfile in the Spryker's docker/sdk github repo and found out that the node version was upgraded to version 22 (i.e node:22-alpine3.20) last month. Reference :-
. docker/sdk up command might have worked last month because the node alpine's official image 22-alpine3.20 was not updated at that time. We already have an open github issue for the same -
Temporary Solution :- I've tried installation by changing node version to 18 (i.e node:18-alpine) in the dashboard dockerfile and it's working without any issues and also installation is getting completed 100% without any npm errors. But the Spryker team needs to check and fix the issue for node v22.1 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,082 ⚖️ - Guardians (admin)
Heyhey @Salmanali Agharia ,
I merged your message with an existing thread. The team is aware of this and it was supposed to be fixed with
- Are you using the latest docker-sdk? No cached images?Currently we try to reproduce it with the latest docker-sdk but we can not - since we "fixed" it some weeks ago we are not able to reproduce it anymore yet some users are reporting that it still exists :/
All the best,
Florian
0 -
Hi @fsmeier,
Yes, I'm using the latest version of Docker SDK and also Docker Client is not having any cached images. I've tried fresh installation from scratch post your message and still it stucks at npm install step :(1 -
Hello @fsmeier,
I can reproduce this error on my local machine as well. I am using Windows, and WSL 2.
My b2c demo shop installation also stuck at
npm install log.io pm2 -g
step.1 -
@Salmanali Agharia As a workaround, I disabled the
dashboard
service from the deploy file.1 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,082 ⚖️ - Guardians (admin)
Heyhey,
please have a look at the github discussions - seems to be a WSL2 bug. A post in the wsl bug thread would be very helpful.
See also downgrade PR as intermediate solution:
All the best,
Florian
1
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 924 Developer Corner
- 783 Spryker Development
- 88 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random