Comments (12)
@Kenneth111 No you do not have to install vs 2017. VS 2015 still works.
vcbuild.bat should be part of the compiler, not from the environement. Could you try run it with the option --clean-tmpdir
? I am guessing that the tmpdir contains some incomplete source code.
from node-packer.
@Kenneth111 @pmq20 I had the same error and the only way to make it work for me was to download node-compiler from github (I guess downloading Node.js from github should also work) and adding the folder with vcbuild.bat to the PATH env variable.
from node-packer.
I installed all the dependencies listed in the readme, but had the same error.
Solved it by installing: https://github.com/felixrieseberg/windows-build-tools
from node-packer.
I have solved this problem using nodec v0.9.6, nodejs v7.10.0 and running nodec with the option --clean-tmpdir as @pmq20 suggested. However, the same error still appears if I use nodec v1.0 and nodejs 8,0.
from node-packer.
@Kenneth111 What if you use nodec v1.0 and nodejs 8,0 and again with option --clean-tmpdir?
from node-packer.
@pmq20 I have tried. It doesn't work.
from node-packer.
@Kenneth111 Could you give me the full log to inspect the problem?
from node-packer.
I am getting this error as well. I am using Node v8.1.1 and Nodec 1.1.0. I have installed windows-build-tools as @mudcrab pointed out and restarted the box I was using but still ended up with Failed running ["call vcbuild.bat x64"]
. I am about to try @And-re pointed out next I guess.
from node-packer.
UPDATE: After noticing I had a weird Python error in the log as well I realised that windows-build-tools don't automatically put Python in the env so once I flagged that and reinstalled, it seems to be working now. We'll see once the build is done!
from node-packer.
Hm, I am getting this again now, even with the --clean-tmpdir
flag. I had thought it was due to my memory but after increasing it on my Windows build server to 16GB it's still throwing this without and noticeable error.
Any idea on how to fix this?
To note, I do not have full VS installed, I only used the npm package windows-build-tools.
from node-packer.
After adding RAM it seems to have solved the problem. I needed 16GB of actual RAM and 8GB of virtual memory to build my project, it also took about 30 minutes, but it all works! π
from node-packer.
@firrae Congratulations
from node-packer.
Related Issues (20)
- ζΎεΌη»΄ζ€δΊεοΌ HOT 9
- npm installation?
- How to hide Windows command prompt after start a.exe file
- Cannot create destination file: No such file or directory HOT 3
- Linux Exceutable Decompiling
- Will there be Nodec with Node.js 10 LTS HOT 3
- Getting Error - No such file or directory @ rb_sysopen HOT 2
- How do I separate the configuration from being compiled? HOT 1
- nodec-v1.5.0-x64 throw errors "No such file or directory - node -pe process.arch"
- How to build nodec for Window? HOT 4
- Is ARM supported? HOT 1
- i don't know how to install Linux operating system HOT 1
- Windows version does not work (Win10, nodec 1.5.0 x64) HOT 3
- Can we resurrect node-packer to get it working with latest Node.js versions? HOT 35
- Assertion `backup_off == lseek_off' failed. HOT 2
- how to use the latest source code to build binary, instead of using the old 1.5.0 version? HOT 3
- ../deps/uv/include/uv.h:37:10: fatal error: enclose_io.h: No such file or directory HOT 4
- Can the packaged executable file effectively protect the source code? HOT 1
- fatal error: Killed signal terminated program cc1 HOT 1
- fatal error: enclose_io.h: No such file or directory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-packer.