Upgrades
Upgrades
Brightspot Enterprise 4.5 Developer Upgrade Guide

Initial Build Verification Guide



To run the initial build of the project, use the command below. This will execute a clean build of the project.

./gradlew --rerun-tasks clean build


Below are some errors that can occur and steps to resolve them.

Styleguide: NoSuchFileException


Example error:

> Task :{project}-frontend:validateEmptyHandlebars FAILED
> Task :{project}-theme-default:yarnInstall UP-TO-DATE
FAILURE: Build failed with an exception.
* Where:
Script 'https://artifactory.psdops.com/psddev-releases/com/psddev/brightspot-gradle-plugins/root-styleguide-empty-handlebars/4.2.12/root-styleguide-empty-handlebars.gradle' line: 19
* What went wrong:
Execution failed for task ':{project}-frontend:validateEmptyHandlebars'.
> java.nio.file.NoSuchFileException: styleguide
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 4s
16 actionable tasks: 5 executed, 11 up-to-date

Resolution:

  • Remove the following line that lives under frontend/build.gradle: apply from "https://artifactory.psdops.com/psddev-releases/com/psddev/brightspot-gradle-plugins/root-styleguide-empty-handlebars/$brightspotGradlePluginVersion/root-styleguide-empty-handlebars.gradle".
  • This test is not being used for new projects; therefore, it is not necessary and can be removed.
Previous Topic
4.5 Table of Contents
Next Topic
Verifying ThemeCompatibilityTest (TCT) Guide
Was this topic helpful?
Thanks for your feedback.

Browse All Docs

Everything you need to know when creating, managing, and administering content within Brightspot CMS.

Dashboards
Publishing
Workflows
Admin configurations
A guide for installing, supporting, extending, modifying and administering code on the Brightspot platform.

Field types
Content modeling
Rich-text elements
Images
A guide to configuring Brightspot's library of integrations, including pre-built options and developer-configured extensions.

Google Analytics
Shopify
Apple News
Brightspot is packaged with content types that get you up and running in a matter of days, including assets, modules and landing pages.

Assets
Modules
Landing pages
Our robust, flexible Design System provides hundreds of pre-built components you can use to build the presentation layer of your dreams.

Asset types
Module types
Page types