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

Failed to parse source map Warning #178

Closed
sriadimanav opened this issue Oct 20, 2023 · 6 comments · Fixed by #179
Closed

Failed to parse source map Warning #178

sriadimanav opened this issue Oct 20, 2023 · 6 comments · Fixed by #179
Labels
bug Something isn't working

Comments

@sriadimanav
Copy link

sriadimanav commented Oct 20, 2023

Describe the bug

package version: 3.1.0
react version: 18.2.0
react scripts version: 5.0.1

Getting warnings in console after upgrading to latest version

Steps to reproduce the bug

install latest version using yarn

Expected behavior

should not throw warnings

Logs, error output, etc.

No response

Screenshots

image

Additional context

No response

Unleash version

3.1.0

Subscription type

None

Hosting type

None

SDK information (language and version)

No response

@sriadimanav sriadimanav added the bug Something isn't working label Oct 20, 2023
@sriadimanav sriadimanav changed the title Failed to parse source map error Failed to parse source map Warning Oct 20, 2023
@sjaanus
Copy link
Contributor

sjaanus commented Oct 23, 2023

Hey @sriadimanav! 😊 To better assist you, could you let me know which node version you're using? Also, did v3.0.0 work properly for you?

Currently was not able to reproduce by this. This gives the same versions you described.

npx create-react-app react-app
cd react-app
yarn install

Do you have anything else added that could cause this?

@Tymek
Copy link
Member

Tymek commented Nov 1, 2023

I was able to reproduce it with create-react-app Typescript template.
Related to cra discussion: facebook/create-react-app#11767
Looks unrelated to Unleash. See facebook/create-react-app#11752

@Tymek Tymek closed this as completed Nov 1, 2023
@github-project-automation github-project-automation bot moved this from New to Done in Issues and PRs Nov 1, 2023
@Tymek
Copy link
Member

Tymek commented Nov 1, 2023

After further investigation, maybe I'll be able to do something about this.

https://sourcemaps.io/report/1698835631581_https%3A%2F%2Funpkg.com%2Funleash-proxy-client%403.0.0%2Fbuild%2Fmain.esm.js

@Tymek Tymek reopened this Nov 1, 2023
@github-project-automation github-project-automation bot moved this from Done to New in Issues and PRs Nov 1, 2023
@Tymek Tymek closed this as completed in #179 Nov 2, 2023
@github-project-automation github-project-automation bot moved this from New to Done in Issues and PRs Nov 2, 2023
@Tymek
Copy link
Member

Tymek commented Nov 2, 2023

Fixed in v3.1.1

CC @sriadimanav

@sriadimanav
Copy link
Author

Hey @sriadimanav! 😊 To better assist you, could you let me know which node version you're using? Also, did v3.0.0 work properly for you?

Currently was not able to reproduce by this. This gives the same versions you described.

npx create-react-app react-app
cd react-app
yarn install

Do you have anything else added that could cause this?

Node version: 20.8.0

@sriadimanav
Copy link
Author

Fixed in v3.1.1

CC @sriadimanav

thanks @Tymek

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants