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

Before using it, need to install react? #1

Open
CatBosss opened this issue Jan 9, 2023 · 1 comment
Open

Before using it, need to install react? #1

CatBosss opened this issue Jan 9, 2023 · 1 comment

Comments

@CatBosss
Copy link

CatBosss commented Jan 9, 2023

Before using it, need to install react?
When I completed to "Custom Integration Steps", I got this error
[ERROR] Could not resolve "react"

node_modules/react-wallet-chat/dist/index.modern.js:1:43:
  1 │ import React, { useState, useEffect } from 'react';
                                                 ~~~~~~~

You can mark the path "react" as external to exclude it from the bundle, which will remove this
error.

@cryptoKevinL
Copy link
Contributor

thanks @CatBosss - it looks like you were able to get around the issue?

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