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.

How to build on Windows 10?

See original GitHub issue

I’m trying to follow the building instructions using Windows 10. But I get warnings / failures at various points.

Below is the out-of-the-box experience, with the problems shown.

The first issue seems to be the use of ln to create links, which Windows doesn’t understand. I did try running the script in Powershell (hoping it had a mapped command for ln) but this didn’t work. Also tried editing the point where ln is called to use mklink instead, but this didn’t seem to solve the problem either.

So my question is whether there is a way to build this on Windows 10? I am new to npm and gulp, so am wondering if I have missed something obvious?

Steps I followed:

Using Command prompt, as administrator.

npm install Issues warnings at start: capture And warnings at end: capture2

gulp setup-project Fails when ln is called: capture3 capture5 capture6

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:18 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
yumetodocommented, Mar 30, 2016

I think this projecct shoud publish pre-build files because this project is passing travis-cl. To fundamentally solve the issue like “I fail to build this. How to do?”, it is only way, I think.

1reaction
appeterecommented, Mar 30, 2016

I had to give up trying to make it build on Windows, as don’t have enough knowledge.

I have tried spinning up an Ubuntu instance on Amazon EC2, but again it won’t build out of the box.

sudo gulp setup-project fails initially with /usr/bin/env: node: No such file or directory. This I managed to get round by using sudo update-alternatives --install /usr/bin/node nodejs /usr/bin/nodejs 100

Running setup-project again then gives: capture

I am a newcomer to Unix, so realise I might be doing something wrong. But is there a particular flavour of Unix that the build-scripts should work on out of the box?

Using Amazon EC2 I have a choice (in the free tier) of

  • Amazon Linux
  • Red Hat
  • SUSE Linux
  • Ubuntu (what I’ve tried)

Any suggestions on which to use, or where else to build this? I don’t have access to an Apple Mac unfortunately.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build desktop apps for Windows
This documentation provides the latest guidance about building desktop apps for Windows 11 and Windows 10. Get ready for development. Get Started. Install...
Read more >
How to build your own PC in 2022 — the right way
Our comprehensive PC build guide will walk you through how to put together your own computer, to save some money.
Read more >
How to Check Windows 10 Build?
To determine the build of Windows 10 that is installed, follow these steps: Right-click the start menu and select Run. ... In the...
Read more >
How To Install Windows onto a New Gaming PC Build
The installation process doesn't differ in UI between Windows 10 and Windows 11 as the setup uses the exact same installer as Windows...
Read more >
Windows 10 Version Numbers Build Numbers Major Minor ...
Windows 10 Versions Windows 10. Build Count of KBs/ KB Number Windows 10 version 22H2 ‑10.0.19045.2251 19045.2251 KB5019959 Windows 10 version 21H2‑10.0.19044.2251 19044.2251 KB5019959 Windows 10...
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