-
Couldn't load subscription status.
- Fork 123
Labels
[Component] EnvironmentWebsite development issues related to Learn's local environment, or needs Meta team involvement.Website development issues related to Learn's local environment, or needs Meta team involvement.
Description
When setting up the local development environment on Windows, the following npm script fails.
"setup:tools": "TEXTDOMAIN=wporg-learn composer exec update-configs"
The reported error:
TEXTDOMAIN=wporg-learn composer exec update-configs
'TEXTDOMAIN' is not recognized as an internal or external command,
operable program or batch file.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
In Windows, unlike *nix systems, it seems one needs to use the set command to set a local environment variable
Metadata
Metadata
Assignees
Labels
[Component] EnvironmentWebsite development issues related to Learn's local environment, or needs Meta team involvement.Website development issues related to Learn's local environment, or needs Meta team involvement.