-
Notifications
You must be signed in to change notification settings - Fork 972
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
Module not found errors when trying to run packages/starter/create-react-app-starter #955
Comments
I've been trying to get this working for two weeks now. I fixed all of the the module errors above, but I still have a missing function TransportRaceCondition in I tried following this fix: But it doesn't work if I use Yarn. I need to use Yarn because NPM and PNPM does not installing the missing dependencies, resulting in this: Failed to compile.
|
Please try:
|
I'm going to close this for now because all the errors look like you hadn't run |
Describe the bug
I am trying to run the starter app template at: packages/starter/create-react-app-starter
I attempted to use
npm install
but got the following error:As a workaround attempt I ended up using
pnpm install
which installed everything fine, but I ran into trouble when I usedpnpm start
At first it seemed like everything was going to work which got me excited, as it was spawning a web browser for localhost only to display a ton of module errors in the browser and terminal:
To Reproduce
Steps to reproduce the behavior:
pnpm install
pnpm start
Expected behavior
Localhost web app that requests connection with my phantom wallet.
Desktop (please complete the following information):
Additional context
I'm more comfortable with back end work and the smart contract side went smoother for me. I am total newb to front end, but I really want to be able to make something that interacts with smart contracts using browser and phantom wallet.
I tried installing some of the missing modules with the following command:
pnpm install @solana/wallet-adapter-base @solana/wallet-adapter-react @solana/wallet-adapter-react-ui @solana/wallet-adapter-wallets
But when I tried to rerun using
pnpm start
it didn't fix the problem.The text was updated successfully, but these errors were encountered: