-
Notifications
You must be signed in to change notification settings - Fork 68
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
Unable to install package with meteor 1.6 #239
Comments
Would it be a good idea to Meteor's new functionality and depend on the |
I agree that a regular package dependency sounds as if it would be better, but I'm not sure how this error is related to the use of a git submodule? |
Aha... I see that the meteor-job package has a DEV dependency on fibers:
and all of these seem to be embedded in the resulting collections package. |
As for why |
Right, I remember now. This was literally issue #1 on this package. The client side of JobCollection in Meteor also has a dependency on the meteor-job npm package, and prior to Meteor 1.4(?) it was not really possible to satisfy client dependencies with an npm package directly. My understanding is that works now (provided said package has no native compiled dependencies, of course). I haven't changed this because it would break backward compatibility of this package with older versions of Meteor. I don't have time to maintain and merge bug fixes etc. into multiple release branches of this package for compatibility with every historical version of Meteor it once supported, so I've been very conservative making changes that aren't backward compatible. |
OK, sounds fair enough. |
If Meteor's package publishing process causes npm dev-only dependencies to be included, that is a bug in Meteor. |
Hmm, it's possible that maybe it picked it up because I had run unit tests out of the same directory I published from... Unfortunately my dev box is about 4000 miles away and I won't be back there for 2 weeks, so this will need to wait. |
😄 I don't think it is urgent as meteor 1.6 is probably at least 2 weeks away, but I wanted to give you a heads up on the problem. |
Any chance you can try a new release with a clean build @vsivsi? 1.6 is in beta.4 now. |
Yes, I'm planning a quick release in the next day or two. |
job-collection 1.5.2 is on Atmosphere now. I have verified that it was published without any dev dependencies installed in the meteor-job submodule (including fibers), so hopefully this will clear-up the Meteor 1.6-rc install issues you all have been seeing. |
I suspect this release will fix the Windows 10 install issues people have been encountering as well... |
I'll test this with my app shortly and let you know |
works for me with 1.6 beta 10. thanks! |
Can confirm it as well for 1.6 beta 13, the latest beta-release as of today. |
OK, I know meteor 1.6 (1.6-alpha.1 to be precise) is at a very early stage, but it uncovers an issue with this package.
The problem is that the package includes an embedded copy of 'fibers' in the node_modules subdirectory, and this needs to be recompiled because meteor 1.6 has switched to node 8.x.
The first time around, the installation repeatedly tried to recompile but eventually gave up. I believe this is because the version of fibers is not the latest. For reference the first error is:
This is on macOS sierra 10.12.5 running with the command line tools (not full xcode).
If I hack out the fibers from the embedded node_modules things work.
The text was updated successfully, but these errors were encountered: