Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source Map Warning: weekday.ts Not Found in rrule Package #633

Closed
DavidHinkelmann opened this issue Sep 2, 2024 · 1 comment · May be fixed by #634 or #637
Closed

Source Map Warning: weekday.ts Not Found in rrule Package #633

DavidHinkelmann opened this issue Sep 2, 2024 · 1 comment · May be fixed by #634 or #637

Comments

@DavidHinkelmann
Copy link

I am encountering a warning related to source maps when using the rrule package in my project. The warning indicates that Webpack's source-map-loader is unable to locate the weekday.ts file. This occurs during the build process.

Steps to Reproduce:

Install the rrule package version 2.8.1 in a project using Webpack.
Configure Webpack to use source-map-loader.
Run the Webpack build process.

Expected Behavior: The build should complete without warnings related to missing source files.

Actual Behavior: The following warning appears during the build:

WARNING in ./node_modules/.pnpm/[email protected]/node_modules/rrule/dist/esm/weekday.js
Module Warning (from ./node_modules/.pnpm/[email protected][email protected]/node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/davidDocuments/project/project-name/node_modules/.pnpm/[email protected]/node_modules/rrule/src/weekday.ts' file: Error: ENOENT: no such file or directory, open '/Users/david/Documents/project/project-name/node_modules/.pnpm/[email protected]/node_modules/rrule/src/weekday.ts'

Environment :
rrule version: 2.8.1
Webpack version: 5.88.2
source-map-loader version: 3.0.2
Node.js version: v20.14.0
Operating System: Mac Os Sonoma 14.6.1 | also tryed on Windows 11 and Ubuntu
Timezone: GMT+2

please ask if you have questions about my Issue 🤗

@dargmuesli
Copy link

This seems to be a duplicate of #303 and #522 if I'm not mistaken and should be resolves by #634.

@DavidHinkelmann DavidHinkelmann closed this as not planned Won't fix, can't repro, duplicate, stale Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants