Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

electron rebuild fails on Windows #12486

Closed
kittaakos opened this issue May 5, 2023 · 1 comment
Closed

electron rebuild fails on Windows #12486

kittaakos opened this issue May 5, 2023 · 1 comment

Comments

@kittaakos
Copy link
Contributor

Bug Description:

I cannot build and start the election example application from the sources. It used to work, and now it's mysteriously failing with an error. I am also investigating it...

Click to see full build Theia log


C:\Users\kittaakos\dev\theia>node -v && npm -v && yarn -v && git rev-parse --short HEAD && git status -s
v16.15.0
8.5.5
1.22.5
b6de8847ab1

C:\Users\kittaakos\dev\theia>yarn
yarn install v1.22.5
$ node-gyp install
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp http GET https://nodejs.org/download/release/v16.15.0/node-v16.15.0-headers.tar.gz
gyp http 200 https://nodejs.org/download/release/v16.15.0/node-v16.15.0-headers.tar.gz
gyp http GET https://nodejs.org/download/release/v16.15.0/SHASUMS256.txt
gyp http GET https://nodejs.org/download/release/v16.15.0/win-x86/node.lib
gyp http GET https://nodejs.org/download/release/v16.15.0/win-arm64/node.lib
gyp http GET https://nodejs.org/download/release/v16.15.0/win-x64/node.lib
gyp http 200 https://nodejs.org/download/release/v16.15.0/SHASUMS256.txt
gyp http 200 https://nodejs.org/download/release/v16.15.0/win-x64/node.lib
gyp http 404 https://nodejs.org/download/release/v16.15.0/win-arm64/node.lib
gyp http 200 https://nodejs.org/download/release/v16.15.0/win-x86/node.lib
undefined
gyp info ok
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @nrwl/[email protected]: The platform "win32" is incompatible with this module.
info "@nrwl/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @nrwl/[email protected]: The CPU architecture "x64" is incompatible with this module.
info @nrwl/[email protected]: The platform "win32" is incompatible with this module.
info "@nrwl/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @nrwl/[email protected]: The platform "win32" is incompatible with this module.
info "@nrwl/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @nrwl/[email protected]: The CPU architecture "x64" is incompatible with this module.
info @nrwl/[email protected]: The platform "win32" is incompatible with this module.
info "@nrwl/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @nrwl/[email protected]: The CPU architecture "x64" is incompatible with this module.
info @nrwl/[email protected]: The platform "win32" is incompatible with this module.
info "@nrwl/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @nrwl/[email protected]: The CPU architecture "x64" is incompatible with this module.
info @nrwl/[email protected]: The platform "win32" is incompatible with this module.
info "@nrwl/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @nrwl/[email protected]: The platform "win32" is incompatible with this module.
info "@nrwl/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @nrwl/[email protected]: The CPU architecture "x64" is incompatible with this module.
info "@nrwl/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @msgpackr-extract/[email protected]: The platform "win32" is incompatible with this module.
info "@msgpackr-extract/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @msgpackr-extract/[email protected]: The CPU architecture "x64" is incompatible with this module.
info @msgpackr-extract/[email protected]: The platform "win32" is incompatible with this module.
info "@msgpackr-extract/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @msgpackr-extract/[email protected]: The platform "win32" is incompatible with this module.
info "@msgpackr-extract/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @msgpackr-extract/[email protected]: The CPU architecture "x64" is incompatible with this module.
info @msgpackr-extract/[email protected]: The platform "win32" is incompatible with this module.
info "@msgpackr-extract/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @msgpackr-extract/[email protected]: The CPU architecture "x64" is incompatible with this module.
info @msgpackr-extract/[email protected]: The platform "win32" is incompatible with this module.
info "@msgpackr-extract/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning " > @theia/[email protected]" has unmet peer dependency "electron@^23.2.4".
warning "workspace-aggregator-c28f299b-776e-40d7-9718-31ee667790e9 > @theia/messages > [email protected]" has unmet peer dependency "react@>=16.3.3".
warning "workspace-aggregator-c28f299b-776e-40d7-9718-31ee667790e9 > @theia/messages > [email protected]" has unmet peer dependency "react-dom@>=16.3.3".
warning "workspace-aggregator-c28f299b-776e-40d7-9718-31ee667790e9 > @theia/preview > [email protected]" has unmet peer dependency "markdown-it@^8.4.1".
warning "workspace-aggregator-c28f299b-776e-40d7-9718-31ee667790e9 > @theia/process > [email protected]" has incorrect peer dependency "node-gyp@^8.3.0".
warning "workspace-aggregator-c28f299b-776e-40d7-9718-31ee667790e9 > @theia/scm > [email protected]" has unmet peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0".
warning "workspace-aggregator-c28f299b-776e-40d7-9718-31ee667790e9 > @theia/scm > [email protected]" has unmet peer dependency "react-dom@^0.14.0 || ^15.0.0 || ^16.0.0".
[5/5] Building fresh packages...
$ yarn -s compile:references && lerna run prepare && yarn -s compile
lerna notice cli v6.5.1

 >  Lerna (powered by Nx)   Running target prepare for 5 projects:

    - @theia/cli
    - @theia/eslint-plugin
    - @theia/re-exports
    - @theia/core
    - @theia/electron

 ——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

> @theia/cli:prepare


> @theia/eslint-plugin:prepare


> @theia/re-exports:prepare


> @theia/core:prepare


> @theia/electron:prepare

yarn run v1.22.5
yarn run v1.22.5
yarn run v1.22.5
yarn run v1.22.5
$ tsc -b
yarn run v1.22.5
$ tsc -b
$ tsc -b
$ yarn -s generate-theia-re-exports
$ yarn -s generate-theia-re-exports
Done in 1.20s.
Done in 2.16s.
Done in 2.26s.
Done in 10.80s.
Done in 26.53s.

 ——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

 >  Lerna (powered by Nx)   Successfully ran target prepare for 5 projects


Compiling TypeScript sources...
Missing source: C:\Users\kittaakos\dev\theia\packages\core\src\electron-common\messaging\electron-messages.ts(x)
Missing source: C:\Users\kittaakos\dev\theia\packages\core\src\electron-main\electron-native-keymap.ts(x)
Done in 298.21s.

C:\Users\kittaakos\dev\theia>yarn browser rebuild
yarn run v1.22.5
$ yarn -s --cwd examples/browser rebuild
native node modules are already rebuilt for browser
Done in 3.39s.

C:\Users\kittaakos\dev\theia>yarn electron rebuild
yarn run v1.22.5
$ yarn -s --cwd examples/electron rebuild
Processed "native-keymap"
Processed "find-git-repositories"
Processed "drivelist"
Processed "node-pty"
Processed "nsfw"
npm ERR! Unexpected token '.'

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\kittaakos\AppData\Local\npm-cache\_logs\2023-05-05T08_43_44_483Z-debug-0.log
Reverted "native-keymap"
Reverted "drivelist"
Reverted "find-git-repositories"
Reverted "nsfw"
Reverted "node-pty"
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Click to see C:\Users\kittaakos\AppData\Local\npm-cache\_logs\2023-05-05T08_43_44_483Z-debug-0.log

0 verbose cli [
0 verbose cli   'C:\\Users\\kittaakos\\scoop\\apps\\nvm\\current\\nodejs\\nodejs\\node.exe',
0 verbose cli   'C:\\Users\\kittaakos\\scoop\\persist\\nvm\\nodejs\\v16.15.0\\node_modules\\npm\\bin\\npm-cli.js',
0 verbose cli   'exec',
0 verbose cli   '--yes=false',
0 verbose cli   '--',
0 verbose cli   'electron-rebuild',
0 verbose cli   '-f',
0 verbose cli   '-w=node-pty,nsfw,native-keymap,find-git-repositories,drivelist',
0 verbose cli   '-o=node-pty,nsfw,native-keymap,find-git-repositories,drivelist'
0 verbose cli ]
1 info using [email protected]
2 info using [email protected]
3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:C:\Users\kittaakos\scoop\persist\nvm\nodejs\v16.15.0\node_modules\npm\npmrc Completed in 2ms
6 timing config:load:builtin Completed in 2ms
7 timing config:load:cli Completed in 2ms
8 timing config:load:env Completed in 8ms
9 info found workspace root at C:\Users\kittaakos\dev\theia
10 timing config:load:file:C:\Users\kittaakos\dev\theia\.npmrc Completed in 1ms
11 timing config:load:project Completed in 41ms
12 timing config:load:file:C:\Users\kittaakos\.npmrc Completed in 0ms
13 timing config:load:user Completed in 0ms
14 timing config:load:file:C:\Users\kittaakos\scoop\apps\yarn\current\global\etc\npmrc Completed in 0ms
15 timing config:load:global Completed in 0ms
16 timing config:load:validate Completed in 2ms
17 timing config:load:credentials Completed in 1ms
18 timing config:load:setEnvs Completed in 1ms
19 timing config:load Completed in 58ms
20 timing npm:load:configload Completed in 59ms
21 timing npm:load:setTitle Completed in 1ms
22 timing config:load:flatten Completed in 5ms
23 timing npm:load:display Completed in 7ms
24 verbose logfile C:\Users\kittaakos\AppData\Local\npm-cache\_logs\2023-05-05T08_43_44_483Z-debug-0.log
25 timing npm:load:logFile Completed in 14ms
26 timing npm:load:timers Completed in 0ms
27 timing npm:load:configScope Completed in 0ms
28 timing npm:load Completed in 81ms
29 verbose stack C:\Users\kittaakos\scoop\persist\nvm\nodejs\v16.15.0\node_modules\npm\node_modules\libnpmexec:1
29 verbose stack ../workspaces/libnpmexec
29 verbose stack ^
29 verbose stack
29 verbose stack SyntaxError: Unexpected token '.'
29 verbose stack     at Object.compileFunction (node:vm:352:18)
29 verbose stack     at wrapSafe (node:internal/modules/cjs/loader:1033:15)
29 verbose stack     at Module._compile (node:internal/modules/cjs/loader:1069:27)
29 verbose stack     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
29 verbose stack     at Module.load (node:internal/modules/cjs/loader:981:32)
29 verbose stack     at Function.Module._load (node:internal/modules/cjs/loader:822:12)
29 verbose stack     at Module.require (node:internal/modules/cjs/loader:1005:19)
29 verbose stack     at require (node:internal/modules/cjs/helpers:102:18)
29 verbose stack     at Object.<anonymous> (C:\Users\kittaakos\scoop\persist\nvm\nodejs\v16.15.0\node_modules\npm\lib\commands\exec.js:1:17)
29 verbose stack     at Module._compile (node:internal/modules/cjs/loader:1105:14)
30 verbose cwd C:\Users\kittaakos\dev\theia\examples\electron
31 verbose Windows_NT 10.0.19044
32 verbose argv "C:\\Users\\kittaakos\\scoop\\apps\\nvm\\current\\nodejs\\nodejs\\node.exe" "C:\\Users\\kittaakos\\scoop\\persist\\nvm\\nodejs\\v16.15.0\\node_modules\\npm\\bin\\npm-cli.js" "exec" "--yes=false" "--" "electron-rebuild" "-f" "-w=node-pty,nsfw,native-keymap,find-git-repositories,drivelist" "-o=node-pty,nsfw,native-keymap,find-git-repositories,drivelist"
33 verbose node v16.15.0
34 verbose npm  v8.5.5
35 error Unexpected token '.'
36 verbose exit 1
37 timing npm Completed in 358ms
38 verbose code 1
39 error A complete log of this run can be found in:
39 error     C:\Users\kittaakos\AppData\Local\npm-cache\_logs\2023-05-05T08_43_44_483Z-debug-0.log

Maybe related: npm/cli#4234.

Steps to Reproduce:

  1. yarn && yarn browser rebuild && yarn electron rebuild

Additional Information

  • Operating System: Windows 10
  • Theia Version: b6de884
@kittaakos
Copy link
Contributor Author

kittaakos commented May 5, 2023

Maybe related: npm/cli#4234.

Yes. The problem is unrelated to Theia.

Based on npm/cli#4234 (comment), I have updated nvm-windows to the latest (1.1.11), re-installed Node.js 16.15.0, and now it works. I leave the steps here. Maybe it will help somebody else having the same build problem:

Update nvm-windows:

scoop update nvm
nvm: 1.1.7 -> 1.1.11
Updating one outdated app:
Updating 'nvm' (1.1.7 -> 1.1.11)
Downloading new version
Loading nvm-noinstall.zip from cache
Checking hash of nvm-noinstall.zip ... ok.
Uninstalling 'nvm' (1.1.7)
Removing shim 'nvm.shim'.
Removing shim 'nvm.exe'.
Removing shim 'nvm.ps1'.
Unlinking ~\scoop\apps\nvm\current
Installing 'nvm' (1.1.11) [64bit] from main bucket
Loading nvm-noinstall.zip from cache
Extracting nvm-noinstall.zip ... done.
Running pre_install script...
Linking ~\scoop\apps\nvm\current => ~\scoop\apps\nvm\1.1.11
Creating shim for 'nvm'.
Persisting nodejs
Persisting elevate.cmd
Persisting elevate.vbs
Persisting settings.txt
'nvm' (1.1.11) was installed successfully!
Notes
-----
You'll need to restart powershell/cmd to have it reload Environment Variables so nvm will work correctly

Re-install Node.js with nvm:

C:\WINDOWS\system32>nvm --version
1.1.11

C:\WINDOWS\system32>nvm uninstall 16.15.0
Uninstalling node v16.15.0... done

C:\WINDOWS\system32>node -v
'node' is not recognized as an internal or external command,
operable program or batch file.

C:\WINDOWS\system32>nvm install 16.15.0
Downloading node.js version 16.15.0 (64-bit)...
Extracting node and npm...
Complete
npm v8.5.5 installed successfully.


Installation complete. If you want to use this version, type

nvm use 16.15.0

C:\WINDOWS\system32>nvm use 16.15.0
Now using node v16.15.0 (64-bit)

C:\WINDOWS\system32>node -v
v16.15.0

yarn electron rebuild:

C:\Users\kittaakos\dev\theia>node -v && npm -v && yarn -v && yarn browser rebuild && yarn electron rebuild
v16.15.0
8.5.5
1.22.5
yarn run v1.22.5
$ yarn -s --cwd examples/browser rebuild
native node modules are already rebuilt for browser
Done in 1.21s.
yarn run v1.22.5
$ yarn -s --cwd examples/electron rebuild
Processed "native-keymap"
Processed "find-git-repositories"
Processed "drivelist"
Processed "node-pty"
Processed "nsfw"
\ Building module: drivelist, Completed: 0Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
- Building module: drivelist, Completed: 0  drivelist.cpp
- Building module: drivelist, Completed: 0  device-descriptor.cpp
- Building module: drivelist, Completed: 0  list.cpp
| Building module: drivelist, Completed: 0  win_delay_load_hook.cc
\ Building module: drivelist, Completed: 0     Creating library C:\Users\kittaakos\dev\theia\node_modules\drivelist\build\Release\drivelist.lib and object C:\Use
  rs\kittaakos\dev\theia\node_modules\drivelist\build\Release\drivelist.exp
  Generating code
- Building module: drivelist, Completed: 0  All 619 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
/ Building module: drivelist, Completed: 0  drivelist.vcxproj -> C:\Users\kittaakos\dev\theia\node_modules\drivelist\build\Release\\drivelist.node
\ Building module: find-git-repositories, Completed: 1Warning: Missing input files:
C:\Users\kittaakos\dev\theia\node_modules\find-git-repositories\build\openpa\..\..\openpa\src\primitives\opa_nt_intrinics.h
| Building module: find-git-repositories, Completed: 1Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
\ Building module: find-git-repositories, Completed: 1  opa_primitives.c
| Building module: find-git-repositories, Completed: 1  opa_queue.c
/ Building module: find-git-repositories, Completed: 1  win_delay_load_hook.cc
| Building module: find-git-repositories, Completed: 1  openpa.vcxproj -> C:\Users\kittaakos\dev\theia\node_modules\find-git-repositories\build\Release\\openpa.lib
/ Building module: find-git-repositories, Completed: 1  FindGitRepos.cpp
| Building module: find-git-repositories, Completed: 1c:\users\kittaakos\dev\theia\node_modules\find-git-repositories\openpa\src\opa_queue.h(75): warning C4190: 'OPA_Shm_abs
_to_rel' has C-linkage specified, but returns UDT 'OPA_Shm_rel_addr_t' which is incompatible with C [C:\Users\kittaakos
\dev\theia\node_modules\find-git-repositories\build\findGitRepos.vcxproj]
  c:\users\kittaakos\dev\theia\node_modules\find-git-repositories\openpa\src\opa_queue.h(59): note: see declaration of
  'OPA_Shm_rel_addr_t'
c:\users\kittaakos\dev\theia\node_modules\find-git-repositories\openpa\src\opa_queue.h(84): warning C4190: 'OPA_Shm_swa
p_rel' has C-linkage specified, but returns UDT 'OPA_Shm_rel_addr_t' which is incompatible with C [C:\Users\kittaakos\d
ev\theia\node_modules\find-git-repositories\build\findGitRepos.vcxproj]
  c:\users\kittaakos\dev\theia\node_modules\find-git-repositories\openpa\src\opa_queue.h(59): note: see declaration of
  'OPA_Shm_rel_addr_t'
c:\users\kittaakos\dev\theia\node_modules\find-git-repositories\openpa\src\opa_queue.h(94): warning C4190: 'OPA_Shm_cas
_rel_null' has C-linkage specified, but returns UDT 'OPA_Shm_rel_addr_t' which is incompatible with C [C:\Users\kittaak
os\dev\theia\node_modules\find-git-repositories\build\findGitRepos.vcxproj]
  c:\users\kittaakos\dev\theia\node_modules\find-git-repositories\openpa\src\opa_queue.h(59): note: see declaration of
  'OPA_Shm_rel_addr_t'
c:\users\kittaakos\dev\theia\node_modules\find-git-repositories\src\findgitrepos.cpp(270): warning C4996: 'Nan::Callbac
k::Call': was declared deprecated [C:\Users\kittaakos\dev\theia\node_modules\find-git-repositories\build\findGitRepos.v
cxproj]
  c:\users\kittaakos\dev\theia\node_modules\nan\nan.h(1746): note: see declaration of 'Nan::Callback::Call'
c:\users\kittaakos\dev\theia\node_modules\find-git-repositories\src\findgitrepos.cpp(294): warning C4996: 'Nan::Callbac
k::Call': was declared deprecated [C:\Users\kittaakos\dev\theia\node_modules\find-git-repositories\build\findGitRepos.v
cxproj]
  c:\users\kittaakos\dev\theia\node_modules\nan\nan.h(1746): note: see declaration of 'Nan::Callback::Call'
- Building module: find-git-repositories, Completed: 1  Queue.cpp
/ Building module: find-git-repositories, Completed: 1c:\users\kittaakos\dev\theia\node_modules\find-git-repositories\openpa\src\opa_queue.h(75): warning C4190: 'OPA_Shm_abs
_to_rel' has C-linkage specified, but returns UDT 'OPA_Shm_rel_addr_t' which is incompatible with C [C:\Users\kittaakos
\dev\theia\node_modules\find-git-repositories\build\findGitRepos.vcxproj]
  c:\users\kittaakos\dev\theia\node_modules\find-git-repositories\openpa\src\opa_queue.h(59): note: see declaration of
  'OPA_Shm_rel_addr_t'
c:\users\kittaakos\dev\theia\node_modules\find-git-repositories\openpa\src\opa_queue.h(84): warning C4190: 'OPA_Shm_swa
p_rel' has C-linkage specified, but returns UDT 'OPA_Shm_rel_addr_t' which is incompatible with C [C:\Users\kittaakos\d
ev\theia\node_modules\find-git-repositories\build\findGitRepos.vcxproj]
  c:\users\kittaakos\dev\theia\node_modules\find-git-repositories\openpa\src\opa_queue.h(59): note: see declaration of
  'OPA_Shm_rel_addr_t'
c:\users\kittaakos\dev\theia\node_modules\find-git-repositories\openpa\src\opa_queue.h(94): warning C4190: 'OPA_Shm_cas
_rel_null' has C-linkage specified, but returns UDT 'OPA_Shm_rel_addr_t' which is incompatible with C [C:\Users\kittaak
os\dev\theia\node_modules\find-git-repositories\build\findGitRepos.vcxproj]
  c:\users\kittaakos\dev\theia\node_modules\find-git-repositories\openpa\src\opa_queue.h(59): note: see declaration of
  'OPA_Shm_rel_addr_t'
- Building module: find-git-repositories, Completed: 1  win_delay_load_hook.cc
/ Building module: find-git-repositories, Completed: 1  Generating code
/ Building module: find-git-repositories, Completed: 1  All 563 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
| Building module: find-git-repositories, Completed: 1  findGitRepos.vcxproj -> C:\Users\kittaakos\dev\theia\node_modules\find-git-repositories\build\Release\\findGitRepos.n
  ode
- Building module: native-keymap, Completed: 2Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
/ Building module: native-keymap, Completed: 2  string_conversion.cc
| Building module: native-keymap, Completed: 2  keymapping.cc
| Building module: native-keymap, Completed: 2  keyboard_win.cc
| Building module: native-keymap, Completed: 2  win_delay_load_hook.cc
\ Building module: native-keymap, Completed: 2  Generating code
| Building module: native-keymap, Completed: 2  All 150 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
/ Building module: native-keymap, Completed: 2  Finished generating code
| Building module: native-keymap, Completed: 2  keymapping.vcxproj -> C:\Users\kittaakos\dev\theia\node_modules\native-keymap\build\Release\\keymapping.node
/ Building module: node-pty, Completed: 3Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
| Building module: node-pty, Completed: 3  conpty.cc
/ Building module: node-pty, Completed: 3  path_util.cc
/ Building module: node-pty, Completed: 3  win_delay_load_hook.cc
| Building module: node-pty, Completed: 3  Generating code
| Building module: node-pty, Completed: 3  All 1021 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
| Building module: node-pty, Completed: 3  conpty.vcxproj -> C:\Users\kittaakos\dev\theia\node_modules\node-pty\build\Release\\conpty.node
  conpty_console_list.cc
| Building module: node-pty, Completed: 3  win_delay_load_hook.cc
- Building module: node-pty, Completed: 3  Generating code
\ Building module: node-pty, Completed: 3  All 174 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
- Building module: node-pty, Completed: 3  conpty_console_list.vcxproj -> C:\Users\kittaakos\dev\theia\node_modules\node-pty\build\Release\\conpty_console_list.
  node
\ Building module: node-pty, Completed: 3  Agent.cc
/ Building module: node-pty, Completed: 3  AgentCreateDesktop.cc
- Building module: node-pty, Completed: 3  ConsoleFont.cc
\ Building module: node-pty, Completed: 3  ConsoleInput.cc
| Building module: node-pty, Completed: 3  ConsoleInputReencoding.cc
- Building module: node-pty, Completed: 3  ConsoleLine.cc
- Building module: node-pty, Completed: 3  DebugShowInput.cc
\ Building module: node-pty, Completed: 3  DefaultInputMap.cc
/ Building module: node-pty, Completed: 3  EventLoop.cc
- Building module: node-pty, Completed: 3  InputMap.cc
| Building module: node-pty, Completed: 3  LargeConsoleRead.cc
/ Building module: node-pty, Completed: 3  NamedPipe.cc
- Building module: node-pty, Completed: 3  Scraper.cc
| Building module: node-pty, Completed: 3  Terminal.cc
/ Building module: node-pty, Completed: 3  Win32Console.cc
- Building module: node-pty, Completed: 3  Win32ConsoleBuffer.cc
\ Building module: node-pty, Completed: 3  main.cc
| Building module: node-pty, Completed: 3  BackgroundDesktop.cc
- Building module: node-pty, Completed: 3  Buffer.cc
\ Building module: node-pty, Completed: 3  DebugClient.cc
| Building module: node-pty, Completed: 3  GenRandom.cc
/ Building module: node-pty, Completed: 3  OwnedHandle.cc
/ Building module: node-pty, Completed: 3  StringUtil.cc
- Building module: node-pty, Completed: 3  WindowsSecurity.cc
| Building module: node-pty, Completed: 3  WindowsVersion.cc
- Building module: node-pty, Completed: 3  WinptyAssert.cc
- Building module: node-pty, Completed: 3  WinptyException.cc
\ Building module: node-pty, Completed: 3  WinptyVersion.cc
| Building module: node-pty, Completed: 3  win_delay_load_hook.cc
| Building module: node-pty, Completed: 3  Generating code
/ Building module: node-pty, Completed: 3c:\users\kittaakos\dev\theia\node_modules\node-pty\deps\winpty\src\agent\agent.cc(231): warning C4722: 'Agent::~Agent':
 destructor never returns, potential memory leak [C:\Users\kittaakos\dev\theia\node_modules\node-pty\build\deps\winpty\
src\winpty-agent.vcxproj]
\ Building module: node-pty, Completed: 3  All 1982 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
| Building module: node-pty, Completed: 3  Finished generating code
| Building module: node-pty, Completed: 3  winpty-agent.vcxproj -> C:\Users\kittaakos\dev\theia\node_modules\node-pty\build\Release\\winpty-agent.exe
  AgentLocation.cc
  winpty.cc
| Building module: node-pty, Completed: 3  BackgroundDesktop.cc
/ Building module: node-pty, Completed: 3  Buffer.cc
\ Building module: node-pty, Completed: 3  DebugClient.cc
/ Building module: node-pty, Completed: 3  GenRandom.cc
| Building module: node-pty, Completed: 3  OwnedHandle.cc
/ Building module: node-pty, Completed: 3  StringUtil.cc
\ Building module: node-pty, Completed: 3  WindowsSecurity.cc
| Building module: node-pty, Completed: 3  WindowsVersion.cc
- Building module: node-pty, Completed: 3  WinptyAssert.cc
- Building module: node-pty, Completed: 3  WinptyException.cc
| Building module: node-pty, Completed: 3  WinptyVersion.cc
/ Building module: node-pty, Completed: 3  win_delay_load_hook.cc
| Building module: node-pty, Completed: 3     Creating library C:\Users\kittaakos\dev\theia\node_modules\node-pty\build\Release\winpty.lib and object C:\Users\k
  ittaakos\dev\theia\node_modules\node-pty\build\Release\winpty.exp
  Generating code
\ Building module: node-pty, Completed: 3  All 1156 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
\ Building module: node-pty, Completed: 3  winpty.vcxproj -> C:\Users\kittaakos\dev\theia\node_modules\node-pty\build\Release\\winpty.dll
  winpty.cc
\ Building module: node-pty, Completed: 3c:\users\kittaakos\dev\theia\node_modules\node-pty\src\win\winpty.cc(43): warning C4311: 'type cast': pointer truncatio
n from 'HANDLE' to 'int' [C:\Users\kittaakos\dev\theia\node_modules\node-pty\build\pty.vcxproj]
c:\users\kittaakos\dev\theia\node_modules\node-pty\src\win\winpty.cc(43): warning C4302: 'type cast': truncation from '
HANDLE' to 'int' [C:\Users\kittaakos\dev\theia\node_modules\node-pty\build\pty.vcxproj]
c:\users\kittaakos\dev\theia\node_modules\node-pty\src\win\winpty.cc(54): warning C4311: 'type cast': pointer truncatio
n from 'HANDLE' to 'int' [C:\Users\kittaakos\dev\theia\node_modules\node-pty\build\pty.vcxproj]
c:\users\kittaakos\dev\theia\node_modules\node-pty\src\win\winpty.cc(54): warning C4302: 'type cast': truncation from '
HANDLE' to 'int' [C:\Users\kittaakos\dev\theia\node_modules\node-pty\build\pty.vcxproj]
c:\users\kittaakos\dev\theia\node_modules\node-pty\src\win\winpty.cc(109): warning C4018: '<': signed/unsigned mismatch
 [C:\Users\kittaakos\dev\theia\node_modules\node-pty\build\pty.vcxproj]
c:\users\kittaakos\dev\theia\node_modules\node-pty\src\win\winpty.cc(220): warning C4311: 'type cast': pointer truncati
on from 'HANDLE' to 'int' [C:\Users\kittaakos\dev\theia\node_modules\node-pty\build\pty.vcxproj]
c:\users\kittaakos\dev\theia\node_modules\node-pty\src\win\winpty.cc(220): warning C4302: 'type cast': truncation from
'HANDLE' to 'int' [C:\Users\kittaakos\dev\theia\node_modules\node-pty\build\pty.vcxproj]
c:\users\kittaakos\dev\theia\node_modules\node-pty\src\win\winpty.cc(221): warning C4311: 'type cast': pointer truncati
on from 'HANDLE' to 'int' [C:\Users\kittaakos\dev\theia\node_modules\node-pty\build\pty.vcxproj]
c:\users\kittaakos\dev\theia\node_modules\node-pty\src\win\winpty.cc(221): warning C4302: 'type cast': truncation from
'HANDLE' to 'int' [C:\Users\kittaakos\dev\theia\node_modules\node-pty\build\pty.vcxproj]
c:\users\kittaakos\dev\theia\node_modules\node-pty\src\win\winpty.cc(238): warning C4533: initialization of 'marshal' i
s skipped by 'goto cleanup' [C:\Users\kittaakos\dev\theia\node_modules\node-pty\build\pty.vcxproj]
  c:\users\kittaakos\dev\theia\node_modules\node-pty\src\win\winpty.cc(218): note: see declaration of 'marshal'
  c:\users\kittaakos\dev\theia\node_modules\node-pty\src\win\winpty.cc(238): note: see declaration of 'cleanup'
c:\users\kittaakos\dev\theia\node_modules\node-pty\src\win\winpty.cc(285): warning C4312: 'type cast': conversion from
| Building module: node-pty, Completed: 3'T' to 'HANDLE' of greater size [C:\Users\kittaakos\dev\theia\node_modules\node-pty\build\pty.vcxproj]
          with
          [
              T=int32_t
          ]
- Building module: node-pty, Completed: 3  path_util.cc
\ Building module: node-pty, Completed: 3  win_delay_load_hook.cc
- Building module: node-pty, Completed: 3  Generating code
- Building module: node-pty, Completed: 3  All 832 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
- Building module: node-pty, Completed: 3  pty.vcxproj -> C:\Users\kittaakos\dev\theia\node_modules\node-pty\build\Release\\pty.node
- Building module: nsfw, Completed: 4Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
/ Building module: nsfw, Completed: 4  NSFW.cpp
\ Building module: nsfw, Completed: 4  Queue.cpp
| Building module: nsfw, Completed: 4  NativeInterface.cpp
\ Building module: nsfw, Completed: 4  Controller.cpp
\ Building module: nsfw, Completed: 4  Watcher.cpp
- Building module: nsfw, Completed: 4  win_delay_load_hook.cc
/ Building module: nsfw, Completed: 4  Generating code
/ Building module: nsfw, Completed: 4  All 1709 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
- Building module: nsfw, Completed: 4  Finished generating code
- Building module: nsfw, Completed: 4  nsfw.vcxproj -> C:\Users\kittaakos\dev\theia\node_modules\nsfw\build\Release\\nsfw.node
√ Rebuild Complete
Done in 87.60s.

C:\Users\kittaakos\dev\theia>

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

No branches or pull requests

1 participant