-
Notifications
You must be signed in to change notification settings - Fork 17
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
Can meteor-spk stop embedding nodejs? #26
Comments
This will require that app-builders compile |
I think that in general, people have a huge amount of difficulty successfully using It seems to me that I agree that it would slow setup somewhat, but apparently we already need a C++ compiler to compile the |
Yeah, +1 on the idea from me in general. My comments were intended as a "these are likely to be things you hit along the way" rather than a "this is a bad idea; here's why". :) I suppose if we already need the compiler for meteor-1.4 anyway, then it's not such a big jump to also build node-capnp and possibly capnproto from source. I wonder which parts should live in meteor-spk vs in a vagrant-spk stack. In looking at this again, it feels like system deps/compilers/whatnot belong in a vagrant-spk |
A solution that requires I build capnp from source to package an app means I won't bother trying to package that app. Unless you can automate the whole process for me. This is why I haven't tried raw API packaging at all. |
FWIW, my understanding is that this would be automated as normal as part of
the meteor app build process.
|
For |
Is there any idea where we are currently in the world of meteor-spk working correctly? |
Right now, with Meteor 1.4.x apps, you can use meteor-spk 0.3.0 and have great success. In the future, when Meteor switches to node 6, I believe the current strategy of
meteor-spk
embedding a nodejs binary is going to be bad news.Context: Our current backwards-compatibility situation
If you try to use a meteor 1.4.x app with meteor-spk 0.1.8, you see an error message like this:
Proposal
Can meteor-spk extract the nodejs binaries out of the current Meteor app's Meteor bundle, rather than embedding a particular node version?
This has the upside that it will be automatically forwards-compatible when Meteor switches versions of node.
It also has the upside that such a
meteor-spk
version would be backwards-compatible -- I could use thatmeteor-spk
with Meteor 1.3.x apps as well as 1.4.x apps. That would address one pain-point I'm seeing with regard to thevagrant-spk
transition explained here: sandstorm-io/vagrant-spk#193The text was updated successfully, but these errors were encountered: