Open
Description
Issue type (mark with x
)
- π€ Question
- π Bug report
- π Feature request
- π€·ββοΈ Other
Version (mark with x
)
- 8οΈβ£ v8.x
- 9οΈβ£ v9.x
- π v10.x or higher
Description
I used the "generator-liferay-theme" component to generate a new theme for Liferay. After the generation, without making any changes to the generated files, I tried to execute npm run build
and encountered a SCSS compilation error.
Desired behavior:
Upon generating a new theme with "generator-liferay-theme", the resulting code should compile without any errors when running npm run build
. Specifically, SCSS compilation should complete successfully, allowing developers to start their theme customization with a clean, error-free base.
Repro instructions (if applicable):
? What would you like to call your theme? MyTheme
? What id would you like to give to your theme? my-theme
? Which version of Liferay is this theme for? 7.3
? Would you like to add Font Awesome to your theme? Yes
create .gitignore
create gulpfile.js
create package.json
create src/WEB-INF/liferay-look-and-feel.xml
create src/WEB-INF/liferay-plugin-package.properties
create src/images/thumbnail.png
create src/css/_custom.scss
I'm all done. Running npm install for you to install the required dependencies. If this fails, try running the command yourself.
...
? Select your deployment strategy Local App Server
? Enter the path to your app server directory: /Users/user/opt/current/liferay/t
omcat-9.0.43
? Enter the url to your production or development site: http://localhost:8080
% cd my-theme
% npm run build
Other information (environment, versions etc):
generator-liferay-theme: 10.2.1
node: 20.5.1
Operating system: MacOS 11.7.9