Missing Frontend Dependencies When Building Back Office Assets

Edit on GitHub

Cause

Issues such as an incorrect folder structure, incorrect file names, or missing npm dependencies can result in incomplete assets.

Solution

  • Verify the asset folder structure: src/Pyz/Zed/{ModuleName}/assets/Zed/{js, sass, ...}
  • Check the JavaScript file names. The frontend builder looks for files that end with .entry.js.
  • Ensure that the @spryker/oryx-for-zed package is up to date. This can help identify issues during the asset build step.
Info

For more information about overriding assets, see Overriding assets for Zed on the project level.