node-packer icon indicating copy to clipboard operation
node-packer copied to clipboard

Failed running ["call vcbuild.bat x64"]

Open TheStaticTurtle opened this issue 6 years ago • 1 comments

So I have visual studio Installed but when I run:

C:\Users\Samuel\Desktop\default>nodec-v1.5.0-x64.exe test.js Node.js Compiler (nodec) v1.5.0

  • entrance: C:/Users/Samuel/Desktop/default/test.js
  • options: {:npm=>"npm", :make_args=>"-j4", :vcbuild_args=>"x64", :output=>"C:/Users/Samuel/Desktop/default/a.exe", :tmpdir=>"C:/Users/Samuel/AppData/Local/Temp/nodec"}

=== WARNING === Please make sure to have installed the correct version of node in your environment. It should match the enclosed Node.js runtime version of the compiler. Expecting v8.3.0; yet got v9.0.0.

-> mkdir -p C:/Users/Samuel/AppData/Local/Temp/nodec -> rm -rf C:/Users/Samuel/AppData/Local/Temp/nodec/work_dir -> mkdir -p C:/Users/Samuel/AppData/Local/Temp/nodec/work_dir -> cp -r "C:/Users/Samuel/Desktop/default" "C:/Users/Samuel/AppData/Local/Temp/nodec/work_dir/enclose_io_memfs" -> cd C:/Users/Samuel/AppData/Local/Temp/nodec/work_dir/enclose_io_memfs -> Running [""npm" -v"] 5.5.1 -> Running [""npm" install --production"] npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN [email protected] No repository field.

up to date in 1.14s -> cd C:/Users/Samuel/Desktop/default -> cd C:/Users/Samuel/AppData/Local/Temp/nodec/work_dir/enclose_io_memfs -> cd C:/Users/Samuel/Desktop/default -> cd C:/Users/Samuel/AppData/Local/Temp/nodec/node-8.3.0-1.5.0 -> rm -f deps/libsquash/sample/enclose_io_memfs.squashfs -> rm -f deps/libsquash/sample/enclose_io_memfs.c -> Running ["mksquashfs -version"] mksquashfs version 4.3 (2014/05/12) copyright (C) 2014 Phillip Lougher [email protected]

[----------------------------------------------------------] Compiled by Sebastiaan Ebeltjes @ 2015-06-08 (Domoticx.nl) Compiled with Cygwin on Windows 8.1, compiler: GCC v4.9.2

This version comes with added support for:

  • LZMA v4.65
  • LZMA2 (XZ) v5.5.0
  • LZO v2.09
  • LZ4 r130

Enjoy!

[----------------------------------------------------------]

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -> Running ["mksquashfs "C:/Users/Samuel/AppData/Local/Temp/nodec/work_dir" deps/libsquash/sample/enclose_io_memfs.squashfs"] Parallel mksquashfs: Using 4 processors Creating 4.0 filesystem on deps/libsquash/sample/enclose_io_memfs.squashfs, block size 131072. [============================================================================================================================================/] 276/276 100%

Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072 compressed data, compressed metadata, compressed fragments, compressed xattrs duplicates are removed Filesystem size 31755.68 Kbytes (31.01 Mbytes) 91.18% of uncompressed filesystem size (34826.97 Kbytes) Inode table size 558 bytes (0.54 Kbytes) 43.39% of uncompressed inode table size (1286 bytes) Directory table size 116 bytes (0.11 Kbytes) 81.69% of uncompressed directory table size (142 bytes) Number of duplicate files found 0 Number of inodes 6 Number of files 4 Number of fragments 1 Number of symbolic links 0 Number of device nodes 0 Number of fifo nodes 0 Number of socket nodes 0 Number of directories 2 Number of ids (unique uids + gids) 1 Number of uids 1 Samuel (197609) Number of gids 1 Samuel (197609) -> cd C:/Users/Samuel/Desktop/default -> cd C:/Users/Samuel/AppData/Local/Temp/nodec/node-8.3.0-1.5.0 -> rm -f Release/obj/node/node_main.obj -> rm -f Debug/obj/node/node_main.obj -> cd C:/Users/Samuel/Desktop/default -> cd C:/Users/Samuel/AppData/Local/Temp/nodec/node-8.3.0-1.5.0 -> Running ["call vcbuild.bat x64"] Failed running ["call vcbuild.bat x64"]

I don't know what's going on and I need to compile to exe

TheStaticTurtle avatar Nov 03 '17 14:11 TheStaticTurtle

Go here "%LocalAppData%/Temp" and remove nodec folder and restart nodec.exe

dobobaie avatar May 31 '18 10:05 dobobaie