Welcome to the new Box Support website. Check out all the details here on what’s changed.

How do I setup React ? I cannot resolve to LocalHost:80:80 on the test app. I have yarn and babel.

New post

Comments

9 comments

  • Stevensb23

    I should have all the prerequietes and my sample react app is working on port 3000, I feel i am missing a step.

     

    Just doesn't resolve. 

     

    Thanks,
    Brian 

    0
    Comment actions Permalink
  • cbetta

     hi there, I'd love to help but I'm not sure how this is Box related. Can you give us some more context?

    0
    Comment actions Permalink
  • Stevensb23

    I was running the app on windows, its coded with this variable that apparently doesn't work.  After some digging I found a relevant bug on another app. They should remove the variable from the app. I thought I was missing a part of the babel config instructions to work with react

    BABEL_ENV' is not recognized as an internal or external command,
    operable program or batch file.

    BABEL_ENV' is not recognized  BABEL_ENV' is not recognized #27

    0
    Comment actions Permalink
  • cbetta

     and ho is this related to Box?

    0
    Comment actions Permalink
  • Stevensb23

    Well if you could update your source code or readme to say that your sample applications will not compile in Windows, you could save your customers hours of unneccessary troubleshooting and debugging 

    0
    Comment actions Permalink
  • Stevensb23

    Let me know if that qualifies as a problem for you or just your customers. 

    0
    Comment actions Permalink
  • cbetta

     totally happy to help, but would like to know what you are working on. Are you following one of our tutorials? One of our samples? 

    0
    Comment actions Permalink
  • Stevensb23

    It's resolved, I was just testing your box-elements-ui-demo on windows, works perfectly well on Centos 7

    0
    Comment actions Permalink
  • Stevensb23

    If you have any resources like conference videos or webinars on manipulating box elements please share! 


    Thanks,
    Brian

    0
    Comment actions Permalink

Please sign in to leave a comment.