-
Notifications
You must be signed in to change notification settings - Fork 22
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
Failed to parse source map #43
Comments
I think this is an issue of source-map-loader rather than time-ago, you could just try to ignore this warning referring to this doc. |
See: facebook/create-react-app#11924 (comment)
|
@hustcc I would re-open this. I think you need to publish the source, otherwise it's impossible for the source maps to be applied, and any debugging that hits source in this module will be very difficult to follow. |
Also, note that this fix needs to be applied in the timeago package, as well. |
any solutions? |
Solution add .env GENERATE_SOURCEMAP=false |
Not worked for me. And i don't think this is an elegant solution |
Run
yarn start
oryarn build
output below warning:Environment
webpack 5.65.0
source-map-loader 3.0.0
node v16.13.1
The text was updated successfully, but these errors were encountered: