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

WidgetBot triggering source map error #5

Open
gnothyself opened this issue Jun 7, 2022 · 2 comments
Open

WidgetBot triggering source map error #5

gnothyself opened this issue Jun 7, 2022 · 2 comments

Comments

@gnothyself
Copy link

Has anyone faced this issue before?
When I use WidgetBot in my react app, it compiles with warnings seen in the attached screenshot. When I comment-out the widgetbot it compiles without error.

For context, I am using React v18

Screen Shot 2022-06-07 at 2 05 21 PM

@advaith1
Copy link
Member

advaith1 commented Jun 7, 2022

Those warnings don't look like they would affect compilation, you can probably ignore them

@gnothyself
Copy link
Author

gnothyself commented Jun 7, 2022

Thank you. I appreciate you taking the time to read this issue.

I have been ignoring the warnings, but when I tried to add a .env file, I got the following error, and the app will not compile because of it.

UPDATE: I uninstalled @widgetbot/react-embed and then re-installed, ran a 'npm audit fix' and added the .env file.
I don't know why, but it worked. I still get the warnings, but it doesn't fail to compile anymore.

Screen Shot 2022-06-07 at 2 45 17 PM

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