tonysamperi / ts-luxon

Typescript based Luxon: ⏱ A library for working with dates and times in TS and JS (immutable)
https://tonysamperi.github.io/ts-luxon
MIT License
13 stars 3 forks source link

Missing files warning in build #5

Closed Holecek-M closed 1 year ago

Holecek-M commented 1 year ago

Describe the bug There are missing files errors in the build log.

WARNING in ../node_modules/ts-luxon/dist/ts-luxon.es6.js
Module Warning (from ../node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'node_modules/src/zones/fixedOffsetZone.ts' file: Error: ENOENT: no such file or directory, open...

To Reproduce Build the project with newest ts-luxon@4.2.2

Actual vs Expected behavior Build without warnings and errors.

Desktop (please complete the following information):

Additional context It was not there before the bugfix. I am doing weekly updates.

Holecek-M commented 1 year ago

The full list of missing files is: src/datetime.ts src/duration.ts src/errors.ts impl/conversions.ts impl/diff.ts impl/digits.ts impl/english.ts impl/formats.ts impl/formatter.ts impl/locale.ts impl/regexParser.ts impl/tokenParser.ts impl/util.ts impl/zoneUtil.ts src/index.ts src/info.ts src/interval.ts src/settings.ts types/intl-next.ts types/invalid.ts src/zone.ts zones/IANAZone.ts zones/fixedOffsetZone.ts zones/invalidZone.ts zones/systemZone.ts

tonysamperi commented 1 year ago

Do you think I would have published if I had such warnings? Look at the actions, no warning. There must be something on your side!

SeamusY commented 1 year ago

@tonysamperi I ran into something similar, for 4.4.0 causes no blocking issues but curious any idea why it mentions this? even though i checked the node_modules and i see the file does exist... any idea?

my issue:

Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map

tonysamperi commented 1 year ago

@SeamusY the point is...can any of you create a blitz reproducing the issue?