Skip to content

gulp VerifyLKG fails on case-sensitive file systems #23146

Closed

Description

@evmar

TypeScript Version: e149641 (Friday March 30 2018)

Search Terms: gulp lkg pt-br

Code

$ gulp LKG
[...]
12:49:55] Error in plugin "run-sequence(VerifyLKG)"
Message:
    Cannot replace the LKG unless all built targets are present in directory built/local/. The following files are missing:
built/local/pt-BR/diagnosticMessages.generated.json
built/local/zh-CN/diagnosticMessages.generated.json
built/local/zh-TW/diagnosticMessages.generated.json

The missing files have the wrong case:

$ ls -d built/local/??-??
built/local/pt-br  built/local/zh-cn  built/local/zh-tw

The bug is here:
https://github.com/Microsoft/TypeScript/blob/0a7b7e07ee9cfae804baaf2bc2435b02e58964ce/scripts/generateLocalizedDiagnosticMessages.ts#L68

You shouldn't lowercase the locale.

Related Issues:

Maybe this one? Andy (Andrewkraft) (@Andy-MS)
#22084

The build instructions say to use gulp LKG so if you had guidance on whether to use gulp or jake I'd appreciate it.

Activity

  1. mhegazy commented on Apr 4, 2018

    @mhegazy
    Contributor

    Andy (Andrewkraft) (@Andy-MS) since you are running on Linux, can you take a look at #23146, #22084 and #23147

  2. added
    Infrastructure
    on Apr 4, 2018
  3. ghost added
    Fixed
    on May 2, 2018
  4. ghost closed this as completedin #23844on May 3, 2018
  5. locked and limited conversation to collaborators on Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedInfrastructure

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions