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.

Build on windows needs work - tracker bug.

See original GitHub issue

I’ve been trying to get the build to run on windows. The package.json build commands that assume Posix shell behaviour aren’t working out - it appears that even when npm is run from a Posix shell, the commands get run on the default shell (which looks to be cmd.exe). Its possible to work around this with `“bash -c "{blah command here}"” for every command that requires proper shell behaviour (as opposed to those that just execute some command without using command substitution, fancy redirects…). Its ugly, but its only about 16 commands.

After that, the closure compiler step dies with duplicate input files. Still tracking down why that happens - probably something in the way we build .build\gcc-java-args.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
wallw-tealcommented, Jan 22, 2018
0reactions
wallw-tealcommented, Jan 30, 2018

In order to do this we’ll have to find node packages to replace:

  • perl - used for search/replace, should be a simple replacement
  • grep - not only is this used once in package.json, but it is also a dependency of the simple-grep node package used in opensphere-build-resolver
  • cp - we initially tried a couple of different node packages for this only to be frustrated that they didn’t work as well as cp
  • find - should be an easy replace, we just didn’t bother because we’d already given up on replacements for cp and grep at the time
  • xargs - should be easy enough to replace or write a quick node script to process those files

And we would need to do a quick look over opensphere-build-resolver and opensphere-build-index to ensure that they are not depending on node wrappers for those native packages.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting - Windows Insider Program - Microsoft Learn
Windows must be activated to run Windows Insider Preview builds. ... so we can investigate issues you might see, like crashes and bugs....
Read more >
Resolved issues in Windows 10, version 20H2 | Microsoft Learn
In this article. Resolved issues; Issue details. See a list of known issues that have been resolved for Windows 10, version 20H2 over...
Read more >
December 13, 2022—KB5021255 (OS Build 22621.963)
This update addresses a known issue that might affect Task Manager. It might display certain elements in the user interface (UI) in unexpected ......
Read more >
Fixes or workarounds for recent issues in Access
If you have a Microsoft 365 for home subscription, or you purchased a one-time download of Office 2016, click the Contact Us link...
Read more >
November 8, 2022—KB5019980 (OS Build 22621.819)
Using provisioning packages on Windows 11, version 22H2 (also called Windows 11 2022 Update) might not work as expected.
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