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

unbox react -- npm run start fails #35

Open
ghost opened this issue Jan 24, 2021 · 3 comments
Open

unbox react -- npm run start fails #35

ghost opened this issue Jan 24, 2021 · 3 comments

Comments

@ghost
Copy link

ghost commented Jan 24, 2021

Tagging @ksolo . I am able to get most of the steps to work in ch9 but get an error on run start. Here are the steps I take:

  1. clean directory: /greeter-dapp; truffle unbox react; success!
  2. truffle develop; compile; migrate; success!
  3. open other terminal; cd ~/test/client/src; npm i; dependencies install successfully (one warning, no errors)
  4. cd up to /client; attempt npm run start; failure :( with the below:
    Unbox runstart error

Any idea how I can fix this?

@ksolo
Copy link
Member

ksolo commented Jan 26, 2021

@JeanGalt1957 Can you share what's in that debug.log file? I'm not sure based on what's here, that may have some additional details.

@ghost
Copy link
Author

ghost commented Jan 31, 2021

@ksolo I fixed this by following the steps in the official documentation https://www.trufflesuite.com/boxes/react

It seems using npx truffle unbox react did the trick

@ksolo
Copy link
Member

ksolo commented Feb 1, 2021

@JeanGalt1957 Can I close this 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

1 participant