-
Notifications
You must be signed in to change notification settings - Fork 125
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
Reactions are currently unavailable
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.
Type
Fields
Give feedbackNo fields configured for Bug.