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..
Good morning, We want to setup a project with the PHP 8.0 alpine docker container from Spryker ```im
Good morning,
We want to setup a project with the PHP 8.0 alpine docker container from Spryker
image: tag: spryker/php:8.0-alpine3.13
But we get the following error on frontend:project:install-dependencies
Install Project dependencies [info] npm [info] WARN [info] prepare removing existing node_modules/ before installation [info] core-js@3.4.8 postinstall /data/node_modules/core-js
Does anyone have an idea what we can do to fix this?
The troubleshooting.md doesn't really help in this case.
Comments
-
giovanni.piemontese Technical Lead @ LΓΆffelhardt Spryker Solution Partner Posts: 871 π§π»βπ - Cadet
we use the same image since one month and we don't have any problem regarding frontend installation.... strange...
0 -
Did you double check the frontend dependencies (they might have changed). I also did that update just recenty without running into that issue.
0 -
We removed the most modules from the composer.json and in the Pyz folder are only the modules ShopApplication and ShopUI:
Here the feature list in our composer:
"spryker-eco/loggly": "^0.1.0", "spryker-feature/checkout": "^202108.0", "spryker-feature/company-account": "^202108.0", "spryker-feature/deployment-tools": "^202108.0", "spryker-feature/inventory-management": "202108.0", "spryker-feature/navigation": "^202108.0", "spryker-feature/product": "^202108.0", "spryker-feature/search": "^202108.0", "spryker-feature/shipment": "^202108.0", "spryker-feature/spryker-core": "^202108.0", "spryker-feature/spryker-core-back-office": "^202108.0", "spryker/scheduler-jenkins": "^1.2.1", "symfony/browser-kit": "^5.1.8", "symfony/console": "^5.2.10"
0 -
I don't think there should be a problem with the dependencies...
0 -
I'm talking about package.json
0 -
And we haven't touched the package.json yet
0 -
Yeah... i just wanted to give you the whole picture
0 -
You seem to have a frontend dependency that requires Python and that dependency might have been removed/updated/changed in the current version of the Spryker suite
0 -
We use the current version as basis
0 -
that's odd π€
0 -
that's true
0 -
Hi @USSJ0JX8X,
have you solved this issue and can give some hints?0 -
We solved this issue by explicitly using
spryker/php:8.0-alpine3.12
and keeping thepackage.json
up-to-date (according to the b2b demo shop).
Otherwise there are some pre-compiled binaries missing which would requirepython
to be installed (which was removed from Alpine in v3.12).0 -
Hi @UKHR9UN00,
that's also our solution.
With the imagespryker/php:8.0-alpine3.12
the installation of the frontend dependencies is running without a problem.0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 74 Spryker News
- 911 Developer Corner
- 771 Spryker Development
- 87 Spryker Dev Environment
- 361 Spryker Releases
- 3 Oryx frontend framework
- 34 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
- 69 Spryker Safari Questions
- 50 Random