Project

General

Profile

Actions

Bug #96927

closed

TypeScript compilation fails on case insensitive file systems

Added by Benjamin Franzke about 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Category:
Backend JavaScript
Target version:
Start date:
2022-02-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Found by Oliver Bartsch:

Running "exec:ts" (exec) task
    Sources/TypeScript/backend/form-engine.ts:626:14 - error TS1261: Already included file name '/var/www/html/Build/Sources/TypeScript/backend/input/clearable.ts' differs from file name '/var/www/html/Build/Sources/TypeScript/backend/Input/clearable.ts' only in casing.
      The file is in the program because:
        Imported via '@typo3/backend/input/clearable' from file '/var/www/html/Build/Sources/TypeScript/backend/form-engine.ts'
        Imported via '@typo3/backend/input/clearable' from file '/var/www/html/Build/Sources/TypeScript/backend/login.ts'
        Imported via '../input/clearable' from file '/var/www/html/Build/Sources/TypeScript/backend/toolbar/live-search.ts'
        Imported via '@typo3/backend/input/clearable' from file '/var/www/html/Build/Sources/TypeScript/belog/backend-log.ts'
        Imported via '@typo3/backend/input/clearable' from file '/var/www/html/Build/Sources/TypeScript/beuser/backend-user-listing.ts'
        Imported via '@typo3/backend/input/clearable' from file '/var/www/html/Build/Sources/TypeScript/extensionmanager/repository.ts'
        Imported via '@typo3/backend/input/clearable' from file '/var/www/html/Build/Sources/TypeScript/extensionmanager/main.ts'
        Imported via '@typo3/backend/input/clearable' from file '/var/www/html/Build/Sources/TypeScript/lowlevel/query-generator.ts'
        Imported via '@typo3/backend/input/clearable' from file '/var/www/html/Build/Sources/TypeScript/recycler/recycler.ts'
        Imported via '@typo3/backend/input/clearable' from file '/var/www/html/Build/Sources/TypeScript/tstemplate/typo-script-object-browser.ts'
        Imported via '@typo3/backend/input/clearable' from file '/var/www/html/Build/Sources/TypeScript/workspaces/backend.ts'
        Matched by include pattern '**/*' in 'tsconfig.json'

    626       import('@typo3/backend/input/clearable').then(function() {
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      Sources/TypeScript/backend/login.ts:16:8
        16 import '@typo3/backend/input/clearable';
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        File is included via import here.
      Sources/TypeScript/backend/toolbar/live-search.ts:18:8
        18 import '../input/clearable';
                  ~~~~~~~~~~~~~~~~~~~~
        File is included via import here.
      Sources/TypeScript/belog/backend-log.ts:16:8
        16 import '@typo3/backend/input/clearable';
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        File is included via import here.
      Sources/TypeScript/beuser/backend-user-listing.ts:14:8
        14 import '@typo3/backend/input/clearable';
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        File is included via import here.
      Sources/TypeScript/extensionmanager/repository.ts:20:8
        20 import '@typo3/backend/input/clearable';
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        File is included via import here.
      Sources/TypeScript/extensionmanager/main.ts:25:8
        25 import '@typo3/backend/input/clearable';
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        File is included via import here.
      Sources/TypeScript/lowlevel/query-generator.ts:15:8
        15 import '@typo3/backend/input/clearable';
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        File is included via import here.
      Sources/TypeScript/recycler/recycler.ts:16:8
        16 import '@typo3/backend/input/clearable';
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        File is included via import here.
      Sources/TypeScript/tstemplate/typo-script-object-browser.ts:14:8
        14 import '@typo3/backend/input/clearable';
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        File is included via import here.
      Sources/TypeScript/workspaces/backend.ts:18:8
        18 import '@typo3/backend/input/clearable';
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        File is included via import here.

    Found 1 error.

    >> Exited with code: 2.
    >> Error executing child process: Error: Process exited with code 2.
    Warning: Task "exec:ts" failed. Use --force to continue.

    Aborted due to warnings.

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #96906: Switch JavaScript module namespace to @typo3/ and use lowercase-dashed filename syntax.ClosedBenjamin Franzke2022-02-15

Actions
Actions #1

Updated by Benjamin Franzke about 2 years ago

  • Related to Task #96906: Switch JavaScript module namespace to @typo3/ and use lowercase-dashed filename syntax. added
Actions #2

Updated by Benjamin Franzke about 2 years ago

  • Subject changed from TypeScript compilation fails on case sensitive file systems to TypeScript compilation fails on case insensitive file systems
Actions #3

Updated by Gerrit Code Review about 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73562

Actions #4

Updated by Benjamin Franzke about 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF