-
Notifications
You must be signed in to change notification settings - Fork 199
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
"It should match the enclosed Node.js runtime version of the compiler." #27
Comments
It does not seem to be a strict requirement. I'll upgrade the runtime to the latest 7.9.0 and consider changing this to a warning this weekend. |
maybe v7.10.0 :) |
Node.js Compiler v0.9.6 (runtime 7.10.0) released! @maximumdata Please check if it solves your problem, thanks! https://github.com/pmq20/node-compiler/releases/tag/v0.9.6 |
Hi, @pmq20 .For some reason, I used nodejs of version 6.10.3, the Latest LTS Version of nodejs. Uh, actually the grpc module and protobuffer are quite strict about the nodejs version, so I'm wondering whether there are some other ways for node compiler to assign the version of nodejs. |
@pmq20, Uh, I just used node compiler to build my project, while as said before I used grpc in my project. After couples of minutes, the compile job is done and of course, I get the a.out. but it can't work, just like pkg, the other tool to bundle the nodejs application. The error result looks like:
Maybe, node compiler has issue with the addons of nodejs, are there any suggestions about solving this problem? |
@goforward01 Thanks for the feedbacks. You have mentioned two problems,
Since Problem Two has been raised at least three times, I'll start working on it right away. For Problem One I'll come back to it later. Stay tuned 😆 |
@pmq20 ,Thanks for rapid reply. btw, nice job with node compiler project. And I'll keep an eye on it later on. Really excited about being able to compile node application to single runnable file, and taking times to make it better surely be a worthy thing to do. thxs for excellent work of this project. |
@goforward01 Node.js Compiler v1.0.0 released! Native C++ modules are fully supported now. https://github.com/pmq20/node-compiler/releases/tag/v1.0.0 |
@pmq20 Wow,that's awesome! I'll try it in a moment. Thanks for informing me, and also thanks for the excellent work with node-compiler. |
@pmq20 , Hi, I gave a try to use v1.0.0, and it work fine with everything, while for some reasons I have to use the [email protected], but I found the node version at default is v8.0.0, as show below:
and my nodejs version is the LTS version of v6.10.3.So when I finished my compile process, of course, I got a.out file.While without luck, it reminded me I shouldn't use v8.0.0 to compile my grpc module.
Uh, Is there anyway to used the specially appointed version of nodejs before compile the pro? |
@goforward01 I think this is the same issue with #40 where @lexor90 has detailed proposal regarding supporting arbitrary node.js runtime versions. Let's discuss it there. |
Closing, let's talk to the referenced issue. Feel free to open it again should you need it. |
Just tried this out using the example provided by the CLI, and got this output:
Obviously, my local version of node is 7.8.0. Does this mean I need to downgrade to 7.7.3 to use this tool? If so, this is not mentioned anywhere in the README.
The text was updated successfully, but these errors were encountered: