-
Notifications
You must be signed in to change notification settings - Fork 13
Build is failing after Meteor 1.6 release #27
Comments
So, i looked at npm install log in minimeteor container and here's what it says:
|
Found it. It was corrupted package-lock.json. |
I'm glad you figured out how to run it on Gitlab. I tried for a while and encountered an error that I couldn't fix. Eventually, I left Gitlab CI altogether. Maybe I'll give it another shot. |
Still can't get it to work due to node version upgrade. So, I've trying to deploy my current app, that's on Meteor 1.5 and i get this:
I'm using css-modules with node-sass. Any Idea? |
If I understand things right, then it seems that when build.sh runs 'meteor npm install' on line 75, it uses latest meteor node version, which is 8. Then, when build.sh runs 'meteor build', it correctly adjusts to node v.4 because my project is still on meteor 1.5. So, question is how to make meteor npm install to use node version 4, just like when building. I actually don't know how to make it happen and why is npm install creates bindings for node8 instead of node4. Same happens on my machine, so Gitlab CI is not relevant. |
So I logged into meteor build container and check how is it going, and here's what I see:
So, I don't know yet why, but meteor uses new node version instead of node4, which should be selected for meteor 1.5 application. Any ideas? |
So, what I did, is added empty meteor command with release tag, just before doing npm install:
in build script. And it worked. So, it seems that bug is in Meteor 1.6, that fails to choose proper meteor-tool version when installing npm packages on clean install. I would appreciate if anyone could check my deductions and confirm or add to it. |
Meteor 1.7 and 1.7.0.1 is impacted by a recent NPM bug - see meteor/meteor#9940 I could successfully perform a build using the same workaround. (Adding |
So, I was using minimeteor with gitlab CI and it was great.
Today exactly when meteor 1.6 has been release, my build broke.
Here's my .gitlab-ci.yml (relevant part):
So, it just curls minimeteor's build.sh and runs it in my app's folder.
Here's what I get in build log:
And so on. So, it fails to install npm module idk why. Obviously, it is listed in package.json.
Same is happening when I try to build it on my local machine (mac OS).
I'd love to get help on this :(
The text was updated successfully, but these errors were encountered: