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

Error: ENOENT: no such file or directory, open 'E:\Projects\Code-Crafters\node_modules\timeago.js\src\format.ts' #267

Closed
soham1300 opened this issue Sep 30, 2023 · 2 comments

Comments

@soham1300
Copy link

How to solve this error show on terminal :

WARNING in ./node_modules/timeago.js/esm/format.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'E:\Projects\Code-Crafters\node_modules\timeago.js\src\format.ts' file: Error: ENOENT: no such file or directory, open 'E:\Projects\Code-Crafters\node_modules\timeago.js\src\format.ts'

@kimch321
Copy link

In my case, I resolved it by adding GENERATE_SOURCEMAP=false to the .env.local file and then restarting the server.

@kboul
Copy link

kboul commented Jan 29, 2024

@kimch321 it works, thanks, but why is this required?

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

No branches or pull requests

3 participants