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..
hey, I hava a problem few some assets being unavailable, returning 500 when I check in console, It r
hey,
I hava a problem few some assets being unavailable, returning 500 when I check in console,
It results in blank page when I go to /product-offer-merchant-portal-gui/offers
reasons seems to be "No route found for "GET /assets/js/mp/spy/product-offer-merchant-portal-gui-es2015.js""
example files are product-offer-merchant-portal-gui-es2015.js, zed-ui-es2015.js and couple others
I've executed frontend:project:install-dependencies, frontend:zed:install-dependencies and frontend:zed:build
and dont knwo what else could be done
has anyone experienced something similiar or knows how could I fix that? thanks! π
Comments
-
what dev env do you use?
assets/
folder should not be proccessed by PHP, so web server should respond with 404 error in case when doesn't exist.0 -
I'm sorry, but I didn't understand the question, what do you mean by dev env?
0 -
Spryker docker/sdk or Spryker vagrant devvm or custom dev env setup?
0 -
E.g. https://os.de.b2c.demo-spryker.com/assets/js/spryker-zed-gui-commons.js
and some random name
https://os.de.b2c.demo-spryker.com/assets/js/some-file.jswhich returns 404 error and not 500
0 -
its a custom setup
0 -
custom docker setup to be precise
0 -
so can you check nginx settings for your setup
0 -
I think I found partial solution to missing files (500 instead of 404 is still a problem)
seems like the whole merchant-portal part is entirely new to our project so it needs to be built
now the problem is that when I run
frontend:mp:build
i get an errorERROR in The target entry-point "@angular/platform-browser/animations" has missing dependencies: - @angular/animations - @angular/animations/browser
0 -
@UTJU5PD6F can you take a look?
0 -
@U01G4K5E0J2
you need to update all merchant portal modules to latest as we just released a new fix last Wednesday0 -
thank you, could you give me a guesstimate on when this changes would be applied to shryker-shop/suite?
0 -
I was tasked with updating dependencies in our project to match suite 1.7
0 -
do you plan to release 1.7.1 with updated dependencies or even 1.8 any time soon?
0 -
1.8 is our next release, so it won't be soon.
1.7.1 maybe, but not this year
so the quick solution is partial update:
composer require spryker/security-merchant-portal-gui --update-with-dependencies composer update spryker/zed-ui spryker/*-merchant-portal-gui --with-dependencies
0 -
well, Ive updated packages you suggested
0 -
after I ran
frontend:install:package-managed frontend:projec:install-dependencies frontend:mp:build
0 -
I got same issue
Compiling @angular/platform-browser-dynamic/testing : es2015 as esm2015 ERROR in ./vendor/spryker/zed-ui/src/Spryker/Zed/ZedUi/Presentation/Components/styles.less Module build failed (from ./node_modules/@angular-devkit/build-angular/node_modules/mini-css-extract-plugin/dist/loader.js): ModuleBuildError: Module build failed (from ./node_modules/less-loader/dist/cjs.js): @import '~@spryker/styles/src/lib/themes/default/mixins/index.less'; @import '~@spryker/grid/src/lib/grid/grid.less'; ^ Can't resolve '@spryker/grid/src/lib/grid/grid.less' in '/data/shop/development/current/vendor/spryker/zed-ui/src/Spryker/Zed/ZedUi/Presentation/Components' in /data/shop/development/current/vendor/spryker/zed-ui/src/Spryker/Zed/ZedUi/Presentation/Components/styles.less (line 6, column 0) at /data/shop/development/current/node_modules/@angular-devkit/build-angular/node_modules/webpack/lib/NormalModule.js:316:20 at /data/shop/development/current/node_modules/loader-runner/lib/LoaderRunner.js:367:11 at /data/shop/development/current/node_modules/loader-runner/lib/LoaderRunner.js:233:18 at context.callback (/data/shop/development/current/node_modules/loader-runner/lib/LoaderRunner.js:111:13) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:97:5) @ multi ./vendor/spryker/zed-ui/src/Spryker/Zed/ZedUi/Presentation/Components/styles.less styles[0] ERROR in The target entry-point "@angular/platform-browser/animations" has missing dependencies: - @angular/animations - @angular/animations/browser
0 -
The problem that you are trying to build beta feature, that doesn't have any documentation currently. Do you really need it?
0 -
frontend:mp:install-dependencies frontend:mp:build
Environment Requirements
β’ NodeJs v12+
β’ Yarn v2 (or latest Yarn v1)0 -
by beta feature you mean merchant portal or something else?
0 -
yes, merchant portal
0 -
to be honest, I dont know, but I thought its part of suite 1.7 and its perfectly fine to use that
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 930 Developer Corner
- 788 Spryker Development
- 89 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
- 26 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
- 33 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random