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.

Cannot build on Windows

See original GitHub issue

I’m working on PR for GitHub Actions (#245) and I can’t get a Windows build to work.

The errors are pretty vague and don’t tell much. I don’t have a Windows box to test it on.

Can anyone please try the following and see if you can figure out why the build is failing?

yarn
yarn bootstrap
yarn lerna add puppeteer@2.1.1
yarn lerna link

## this step fails
yarn lerna run build --concurrency 1

The failure is here: https://github.com/berstend/puppeteer-extra/runs/853251961?check_suite_focus=true

A partial snippet:

The system cannot find the file specified.
error Command failed with exit code 1.
error Command failed with exit code 1.
error Command failed with exit code 1.

lerna ERR! yarn run build exited 1 in 'puppeteer-extra-plugin-recaptcha'
error Command failed with exit code 1.
verbose 39.617 Error: Command failed with exit code 1.
    at ProcessTermError.ExtendableBuiltin (C:\npm\prefix\node_modules\yarn\lib\cli.js:721:66)
    at ProcessTermError.MessageError (C:\npm\prefix\node_modules\yarn\lib\cli.js:750:123)
    at new ProcessTermError (C:\npm\prefix\node_modules\yarn\lib\cli.js:790:113)
    at C:\npm\prefix\node_modules\yarn\lib\cli.js:34550:30
    at Generator.throw (<anonymous>)
    at step (C:\npm\prefix\node_modules\yarn\lib\cli.js:310:30)
    at C:\npm\prefix\node_modules\yarn\lib\cli.js:323:13
    at process._tickCallback (internal/process/next_tick.js:68:7)
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
##[error]Process completed with exit code 1.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
moltarcommented, Jul 10, 2020

Maybe we table Windows testing until someone with a Windows machine and desire to help us comes along?

I wanted to get Windows builds and tests to work so that it opens up opportunity for Windows users to contribute.

As it was, they couldn’t even run tests property.

0reactions
moltarcommented, Jul 10, 2020

Ok, I think I have resolved all of the Windows build issues.

But there are 2 failing tests on Windows. I’ll create a new issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Flutter Windows: cannot build App error MSB8066
rule' exited with code 1. [D:\DSI projects\sanjali_app\build\windows\flutter\flutter_assemble.vcxproj] Exception: Build process failed.
Read more >
cannot build Windows App error MSB8066 · Issue #80179 ...
I am getting this error while building for windows on debug mode C:\Program Files (x86)\Microsoft Visual ...
Read more >
Visual Studio 2019 Cannot build solutions that are in custom ...
Change to your solution's directory and msbuild and it will build. Just to be clear though, you need to have a solution and...
Read more >
Cannot build mixxx from source in windows 11 - Help & Support
vcpkg-root file, installed folder and scripts folder inside new buildenv folder. Note that i cannot create folder mixxx-deps-2.3-x64-windows-049b5ad because ...
Read more >
[llvm-dev] Cannot build Clang/LLVM on Windows with ...
It's unsupported on MS toolchain. It's too hard to make LLVM headers and libs DLL-ready. It would be theoretically possible on mingw. (oops,...
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