question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for Windows set up

See original GitHub issue

Hello! I am having many troubles while trying to set up baseui on Windows 10. Here are the steps I took:

  • The first issue I had was with a cp command not found here.https://github.com/uber-web/baseui/blob/cedaaab62c5e137c22e5ee31bb6e559391a230ab/package.json#L26 After changing the command to copy and updating the paths with backslash instead of slash, the file was copied.

  • After that I had troubles with lines that execute Javascript files, like this one. https://github.com/uber-web/baseui/blob/cedaaab62c5e137c22e5ee31bb6e559391a230ab/package.json#L27 I solved it by appending node in the front, like this: "build:copy-flow-files": "node .\\scripts\\flow-copy-src.js"

  • At this point, I was able to run the yarn command with no errors. When I try to run yarn documentation:dev, after some time it shows the message babel compiled 314 files successfully. However the console does not run any process at all after this, neither gives you the option to enter other commands nor launches the documentation on localhost, as it should. If I try to run yarn documentation:serve instead, I get a 404 not found error.

I don’t think making so many changes on package.json and other files is a reasonable solution. I am considering installing Linux OSsystem and Windows Subsystem for Linux on my machine but I REALLY wanted to avoid doing this. I already set up the project on a macbook successfully, so it is definitely a problem with Windows. Any help is welcome. Thanks!

P.S. I’ll provide more details about my set up when I get home.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
gergelykecommented, Apr 4, 2019

this happens if the dev server cannot start listening on port 3000 - can you double check if you have nothing listening on that port?

1reaction
gergelykecommented, Apr 3, 2019

sounds good, thank you! please reopen if needed! 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Get help with Windows upgrade and installation errors
See some of the most common upgrade and installation errors for Windows 10 and Windows 11, and what you can do to try...
Read more >
Windows help & learning - Microsoft Support
Find help and how-to articles for Windows operating systems. Get support for Windows and learn about installation, updates, privacy, security and more.
Read more >
Microsoft Support
Microsoft support is here to help you with Microsoft products. Find how-to articles, videos, and training for Microsoft 365, Windows, Surface, and more....
Read more >
How to get help in Windows - Microsoft Support
Get help - Select the Get help link when you're in Settings to learn more about the setting you're using and find answers...
Read more >
Create installation media for Windows - Microsoft Support
To create installation media, go to the software download website, where you'll find step-by-step instructions. On that website, you can select a version...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found