Skip to content
This repository has been archived by the owner on Sep 11, 2021. It is now read-only.

Register new version #223

Open
aminya opened this issue Aug 23, 2020 · 10 comments
Open

Register new version #223

aminya opened this issue Aug 23, 2020 · 10 comments

Comments

@aminya
Copy link

aminya commented Aug 23, 2020

I am trying to build a project which uses Python 3, but because the latest windows-build-tools (5.2.2) does not include #205, the installation of windows-build-tools fails.

cc: @felixrieseberg @jacobq

Closes #206
Closes #220

@jacobq
Copy link
Collaborator

jacobq commented Aug 24, 2020

For now I suggest manually installing Python 3 and updating your path / settings. Unfortunately, although I can merge PRs, I cannot publish releases for this package.

@aminya
Copy link
Author

aminya commented Aug 24, 2020

@jacobq The package is currently broken. The installation does not finish. It does not matter if I install Python 3 or 2.

@felixrieseberg Could you register a new version?

@jacobq
Copy link
Collaborator

jacobq commented Aug 24, 2020

What I am trying to say is that you do not need this package to install the underlying software. It was intended as a convenience only. If you are not able to install those manually (e.g. download from python.org and microsoft.com / build tools page and execute) then you'll need to investigate the problem further as it's unrelated and far beyond the scope of windows-build-tools.

@aminya
Copy link
Author

aminya commented Aug 24, 2020

How can I skip the installation of Python altogether? It fails now in the Azure environment. Here is an example of a windows-build-tools failing installation in Azure CI. It is an endless wait for the Python installation log.
https://bit.ly/31nwnQ3

@DeeDeeG
Copy link

DeeDeeG commented Aug 24, 2020

If I read it correctly, at least when this happened to me, it was saying the Python install was finished and that it was waiting for the build log from the Visual Studio installer.

@jacobq
Copy link
Collaborator

jacobq commented Aug 25, 2020

How can I skip the installation of Python altogether?

You can download and install the software that you want separately without using windows-build-tools (e.g. write a short PowerShell script and use System.Net.WebClient) See https://github.com/nodejs/node-gyp#option-2

You can also try using v4 (npm install --global --production windows-build-tools@4.0.0), with which other people have reported success

@aminya
Copy link
Author

aminya commented Aug 25, 2020

Registration did not help with the issue. I tested this with the version registered on my account.

The issue is in Tailer. It never finds the log files for the MS Build tools installation.

* Starts watching a the logfile
*/
public start() {
if (this.logFile) {
debug(`Tail: Waiting for log file to appear in ${this.logFile}`);
} else {
debug(`Tail: Waiting for log file to appear. Searching in %TEMP%`);
}
this.waitForLogFile();
}

https://dev.azure.com/atomcommunity/atomcommunity/_build/results?buildId=643&view=logs&j=2985f0af-e798-5fdc-91b8-be9f0a3685c5
image

@jacobq
Copy link
Collaborator

jacobq commented Aug 25, 2020

Registration did not help with the issue. I tested this with the version registered on my account.

Not sure what you mean by "registration". Would you care to elaborate on this?

The issue is in Tailer. It never finds the log files for the MS Build tools installation.

Seems like a duplicate of #152, #172, #174, #208.... Is there something different in this case that I'm missing? If not, let's close this issue in favor of the pre-existing ones and the new PRs you started (#224 and #225). Thanks for diving into this. Please let me know if you would like me to test, review, etc. If you can resolve this problem I will take some time to seek @felixrieseberg and see if I can get access to publish a new version to npm.

@DeeDeeG
Copy link

DeeDeeG commented Aug 30, 2020

Not sure what you mean by "registration". Would you care to elaborate on this?

I believe this is referring to using this module (the forked/updated version) as a published package on the npm package registry, as opposed to installing it from a git URL.

https://www.npmjs.com/package/@aminya/windows-build-tools

For context: We collaborate on another project, and oddly enough one of our dependencies would not install as a git dependency, but installing it from the package registry worked just fine.

@aminya
Copy link
Author

aminya commented Aug 30, 2020

For context: We collaborate on another project, and oddly enough one of our dependencies would not install as a git dependency, but installing it from the package registry worked just fine.

For windows-build-tools, it is because of Typescript. You need to build. Git installation does not build

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants