-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Closed
Copy link
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Description
- Version: 12.x
- Platform: Windows
- Subsystem:
I took the documentation specified in Building.md and converted that into a DockerFile. I had to make some additions to supplement the boxstarter scripts because that ran into errors installing the build tools. To get around that issue I installed those first via npm, following guidelines in this post, then called the boxstarter scripts. This enabled me to get passed that particular problem but now I have a new issue which is detailed below in the console output. I have included a dockerfile to reproduce the issue. Any assistance will be greatly appreciated.
Output of the build
C:\node>.\vcbuild full-icu download-all
Looking for Python
Python 2 found in C:\Python27\\python.exe
Looking for NASM
Looking for Visual Studio 2017
Found MSVS version 15.0
configure "--download=all" --with-intl=full-icu --dest-cpu=x64
INFO: Using floating patch "tools/icu/patches/64/source/common/putil.cpp" from "tools/icu"
INFO: Using floating patch "tools/icu/patches/64/source/i18n/dtptngen.cpp" from "tools/icu"
Warning: Missing input files:
tools\msvs\genfiles\node_etw_provider.rc
tools\msvs\genfiles\node_etw_provider.h
tools\v8_gypfiles\..\..\deps\v8\src\regexp\regexp-special-case.h
INFO: configure completed successfully
Project files generated.
The system cannot find the file specified.
Dockerfile to reproduce the behaviour
ARG version=ltsc2019
FROM mcr.microsoft.com/windows/servercore:$version
ENV chocolateyUseWindowsCompression false
RUN powershell -Command \
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')); \
choco feature disable --name showDownloadProgress
RUN powershell choco install nodejs-lts -y
RUN npm install --global --production windows-build-tools
RUN npm config set msvs_version 2017 -global
RUN npm install --global node-gyp --no-optional
RUN powershell choco install vim -y
RUN powershell -Command \
iex ((New-Object System.Net.WebClient).DownloadString('https://boxstarter.org/bootstrapper.ps1')) ; \
Get-Boxstarter -Force ; \
Install-BoxstarterPackage https://github.com/raw/nodejs/node/master/tools/bootstrap/windows_boxstarter -DisableReboots
RUN powershell git clone https://github.com/nodejs/node.git
RUN powershell Set-Location -Path C:\Node; git checkout v12.x
RUN powershell Set-Location -Path C:\Node; .\vcbuild full-icu download-all
Metadata
Metadata
Assignees
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.