-
Notifications
You must be signed in to change notification settings - Fork 16
Not working on Modulus with Meteor 1.2.x #10
Comments
Interesting, we're using this with Meteor 1.2 on the reactioncommerce.com site, without issue. Are there any output error logs that you can provide to help debug? |
When I run the code locally, I don't get any errors, but the functionality to pull from a spreadsheet doesn't work. I searched for 1to2 and couldn't find anything about it. Thanks for your help with this. |
Was just discussing with @aldeed -> I'm able to use locally, the npm packages look to be up to date, and I've successfully deployed with |
Unfortunately, this is out of my experience depth. Do you know what we can do to resolve this? Thanks. |
Without a way to replicate on my end, it might be tough. I'll take a look later and see if build and publishing an updated Meteor 1.2 package helps. It might be that the a fresh build eliminates the |
Here is the location of the 1to2.js file: On my machine it isn't empty. I can paste the contents if that's helpful. |
Here is the readme from the folder: $ tools/1to2.js
Usage: 1to2 [options] <file ...>
Options:
-h, --help output usage information
-V, --version output the version number |
Can you retry using |
Thanks for your help. Unfortunately, on deploy to Modulus, I'm still getting the error: |
With a build version, the only instances of
The issue could be related to this: nodejs/nan#441 What version of node are you deploying with? And what OS version? Those could matter here. |
Thanks again very much for your help -- makes a big difference to us here. Deploying project into Node.js runtime... Locally, I'm running on OSX 10.11 (El Capitan). |
The OS you are deploying to... I'm wondering because |
Also, are you sure your app is using |
Yes, verified, here is the line from our .meteor/packages: Here is the info from Modulus when we build. meteor bundle generation complete.
make: Entering directory
|
Actually, things don't seem to be working locally either. In the local case, the app will build without incident. However, when we try to pull data from a google spreadsheet, we get the following console: errorClass {error: 400, reason: "Match failed", details: undefined, message: "Match failed [400]", errorType: "Meteor.Error"} If the app is reverted back to the pre-1.2 code (which doesn't have changes relating to the spreadsheet functionality) then the same function works correctly. Thanks again for your help in resolving this -- much appreciated. We're currently having to hand transfer data... |
I'm really not sure I can debug much further without your source, as I can't replicate in any way - and we're using this right now without issues ( https://reactioncommerce.com/features is driven by this), and I know of several other packages that are also working with this version right now. Neither of the errors you reported really directly point to an error with this package either, so their not too helpful. Perhaps something else, such as the spreadsheet itself has changed - the Match failed error (I need the entire error not just that tidbit to really know) would be an indication that a meteor method is being called without the required parameters. This could be caused by something on the spreadsheet side. I'm leaning towards it being some other code change, or spreadsheet change - maybe some data in the spreadsheet that is the root cause. |
I don't think it's the data in the spreadsheet, since I can pull the same spreadsheet successfully (either locally on or modulus) using the code from just prior to the 1.2 update. |
Is there some other relevant test that I can perform on my end? One idea that comes to mind is to downgrade from 1.2 and see if this fixes the error. However, I'm kind of jumping into the dark hoping to catch a branch... |
No, the dependencies cannot be removed. Not really jumping in the dark :-) You just need to use 'meteor --release' and any previous Meteor version to test this. (type meteor --help for details) |
Of course, if the problem is in your code, you'd be better off reverting any changes you made (such as .meteor/versions .meteor/releases) in your repo for a better test. |
@aaronjudd I figured out where the Match errors come from. PR here: #11 If you can merge and release this, hopefully that will fix @cdcv's issue at least running locally. |
Thanks Eric. |
Published ongoworks:[email protected]_4. |
After update to 1.2, must remove this package for app to work.
Do you have a sense of when you might be able to resolve this? This is mission-critical for us.
Thank you for your help, and your helpful package.
The text was updated successfully, but these errors were encountered: