Error when creating a new project – Wappler reports spaces in project path that do not exist

When trying to create a new project in Wappler, I receive the error message “Project path should not contain spaces!”, even though the specified directory does not contain any spaces.

Details:

  • Project name: Orderpay

  • Project folder path:
    ~/Documents/Projetos/orderpay

  • Development environment: Wappler Local Server

  • Server model: NodeJS

  • Template: Blank (Web)

As shown in the attached image, the Project Folder field is marked as invalid, although there are no spaces in any of the folder names (Documents, Projetos, orderpay).

What I have already checked:

  • There are no visible spaces in the path.

  • The directory was typed manually and also selected using the file browser.

  • The issue persists regardless of the project name used.

Possible cause:
This may be related to:

  • An incorrect path validation in Wappler

  • Hidden characters, encoding issues, or incorrect handling of the ~ (home directory)

  • A platform-specific path parsing issue (Windows/macOS/Linux)

Request:
I would appreciate guidance on:

  • How to resolve this validation error

  • The correct path format expected by Wappler

  • Whether this is a known issue in the current Wappler version

Looking forward to your support.

Kind regards

Although the path shows correctly. you must still enter the path either by pointing to the folder or entering the information manually

I have already tried both selecting the folder using the file picker and entering the path manually. The issue persists in both cases, even with an absolute path and no spaces.

I came across the same issue recently when creating a new project in Wappler.

In my case, the problem was caused by having a space in the main folder name, Wappler Websites. I'm not sure when this issue started, but all my projects were created in that folder with a space in the name - a rookie mistake I made many many years ago.