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

React spring: Module parse failed. Unexpected token #50

Open
alonecandies opened this issue Feb 24, 2023 · 2 comments
Open

React spring: Module parse failed. Unexpected token #50

alonecandies opened this issue Feb 24, 2023 · 2 comments

Comments

@alonecandies
Copy link

I embed the plugin into my app, but when I run it, it show up below image
image
Not sure if it is my project issue or if there is any conflict in config between two apps.
FYI, my project doesn't have react-spring as a dependency and I use react version 17.0.2
Any help would be greatly appreciated! Thank you

@tuvudu
Copy link

tuvudu commented Feb 28, 2023

@alonecandies which is your react version? I see on socket.tech docs. they required The widget is compatible with React v18+ and Node v14+.

@tuvudu
Copy link

tuvudu commented Mar 3, 2023

@alonecandies I saw the reason is @react-springs/web. you can build custom from Socket SDK or visit https://github.com/tuvudu/SocketDotTech.plugin to see an example about removing react-spring/web.

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

2 participants