Skip to content

Liferay/CLI project fails on scss files on WindowsΒ #1049

@nitramek

Description

@nitramek

πŸ‘€ Please check the troubleshooting guide before reporting anything. It contains important information on how to fix or diagnose errors.

Issue type (mark with x)

  • πŸ€” Question
  • πŸ› Bug report
  • 🎁 Feature request
  • πŸ€·β€β™€οΈ Other

Version (mark with x)

  • 2️⃣ v2.x
  • 3️⃣ v3.x

Description

Newly generated project with liferay new project-name choosing Portal 7.4 CE, remote app with react.
When I run liferay build I get an error.

You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file

I skimmed through the building code and I suspect this has to do with webpack configuration and paths. I suspect it has to do with
getWebpackConfiguration and with the getScssEntryPoints function.

On WSL (Windows Subsystem For Linux) it runs fine.

Desired behavior:
Build completes.

Current behavior:
Build doesnt complete.

Other information (environment, versions etc):
Windows 10
Node 16.18.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions