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..
Hi there, after updating our project's npm packages according to the
Hi there,
after updating our project's npm packages according to the b2b-demo-shop (which it is based on), we're having issues building Zed:
@import '~bootstrap-sass/assets/stylesheets/bootstrap'; ^ File to import not found or unreadable: ~bootstrap-sass/assets/stylesheets/bootstrap. in /data/vendor/spryker/gui/assets/Zed/sass/main.scss (line 11, column 1)
...
@import '~jstree/dist/themes/default/style'; ^ File to import not found or unreadable: ~jstree/dist/themes/default/style. in /data/vendor/spryker/file-manager-gui/assets/Zed/sass/main.scss (line 6, column 1)
These are dependencies that are included in the core module's package.json (like https://github.com/spryker/gui/blob/master/assets/Zed/package.json)
From my understanding they should install automatically by running
docker/sdk console frontend:project:install-dependencies
This could be solved by adding the dependencies to our root package.json but I guess this is not how it is supposed to work. 🙂
Any ideas where to look at for this?
We're using:
webpack v4.27.1
spryker/oryx v1.4.0
spryker/oryx-for-zed v2.11.3
spryker/setup-frontend v1.7.0
spryker/gui v3.41.2
Comments
-
which nodejs / npm version are you using?
0 -
I just found the issue.
Althoughdeprecated
, it's still necessary to callconsole frontend:zed:install-dependencies
.
I'm not sure if this is a bug in the current spryker/setup-frontend module version.0 -
I believe the problem here is that the new command does not resolve vendor dependencies.. if you take a look at the spryker-shop/suite repo you will notice that the package.json contains workspaces now.
It might be that this is the future way to go.. right now I’m trying exactly this way and it works with the way of installing dependencies.
But I struggle to build Zed without editing the webpack.config in oryx-for-zed..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