% npm run build
> actual-moneymoney@1.0.0 build
> npx tsc
src/commands/import.command.ts:5:23 - error TS1261: Already included file name '/Users/mirko/actual-moneymoney/src/utils/ActualApi.ts' differs from file name '/Users/mirko/actual-moneymoney/src/utils/actualApi.ts' only in casing.
The file is in the program because:
Imported via '../utils/ActualApi.js' from file '/Users/mirko/actual-moneymoney/src/commands/import.command.ts'
Imported via './ActualApi.js' from file '/Users/mirko/actual-moneymoney/src/utils/Importer.ts'
Matched by default include pattern '**/*'
File is ECMAScript module because '/Users/mirko/actual-moneymoney/package.json' has field "type" with value "module"
5 import ActualApi from '../utils/ActualApi.js';
~~~~~~~~~~~~~~~~~~~~~~~
src/utils/Importer.ts:3:23
3 import ActualApi from './ActualApi.js';
~~~~~~~~~~~~~~~~
File is included via import here.
Found 1 error in src/commands/import.command.ts:5
Note that the build succeeds, the dist directory is created and usable/
how to reproduce
I'm running from the latest git version
with the following node + rpm
And get the following error on
npm run build
Note that the build succeeds, the
dist
directory is created and usable/