Open eric011 opened 9 years ago
Would you mind downgrading mup to 0.9.x and see it cause this error too.
Then we can assume this is something with the windows port.
Anyway, I will add the debug logs soon. On 2015 අප්රේල් 27, සඳුදා at පෙ.ව. 8.23 Norman notifications@github.com wrote:
mup version: 0.10.4 node version: 0.10.38 os: osx 10.10.2
Mup works well all the time, but suddenly it didn't work anymore. For the same meteor application, I can use 'mup' on other machines, but not on my macbook. After digging the code for a while, I noticed two things: 1, the debug message is missing; 2, even though it knows the target machine is 'linux', but the error is more likely caused by the 'sunos/deploy.sh', rather than the 'linux/deploy.sh'. Here is the line 26 of each file: linux/deploy.sh: } sunons/deploy.sh: gyp_rebuild_inside_node_modules In fact, if I manually run 'linux/deploy.sh', the debug message will show and there is no error. Can anyone help me out?
$ DEBUG=* mup deploy Meteor Up: Production Quality Meteor Deployments
Building Started: /Users/xxx/myapp
Started TaskList: Deploy app 'myapp' (linux) [myhost] - Uploading bundle nodemiral:sess:myhost copy file - src: /tmp/f2722824-dae1-455b-8c08-953c31ef4ed4/bundle.tar.gz, dest: /opt/myapp/tmp/bundle.tar.gz, vars: undefined +0ms [myhost] - Uploading bundle: SUCCESS [myhost] - Setting up Environment Variables nodemiral:sess:myhost copy file - src: /usr/local/lib/node_modules/mup/templates/linux/env.sh, dest: /opt/myapp/config/env.sh, vars: {"env":{...} +14s [myhost] - Setting up Environment Variables: SUCCESS [myhost] - Invoking deployment process [myhost] x Invoking deployment process: FAILED
-----------------------------------STDERR----------------------------------- gyp_rebuild_inside_node_modules:26: = not found
-----------------------------------STDOUT-----------------------------------
Completed TaskList: Deploy app 'myapp' (linux)
— Reply to this email directly or view it on GitHub https://github.com/arunoda/meteor-up/issues/395.
May be try to update mup. I made a huge error.
On Mon, Apr 27, 2015 at 8:36 AM Arunoda Susiripala arunoda@meteorhacks.com wrote:
Would you mind downgrading mup to 0.9.x and see it cause this error too.
Then we can assume this is something with the windows port.
Anyway, I will add the debug logs soon. On 2015 අප්රේල් 27, සඳුදා at පෙ.ව. 8.23 Norman notifications@github.com wrote:
mup version: 0.10.4 node version: 0.10.38 os: osx 10.10.2
Mup works well all the time, but suddenly it didn't work anymore. For the same meteor application, I can use 'mup' on other machines, but not on my macbook. After digging the code for a while, I noticed two things: 1, the debug message is missing; 2, even though it knows the target machine is 'linux', but the error is more likely caused by the 'sunos/deploy.sh', rather than the 'linux/deploy.sh'. Here is the line 26 of each file: linux/deploy.sh: } sunons/deploy.sh: gyp_rebuild_inside_node_modules In fact, if I manually run 'linux/deploy.sh', the debug message will show and there is no error. Can anyone help me out?
$ DEBUG=* mup deploy Meteor Up: Production Quality Meteor Deployments
Building Started: /Users/xxx/myapp
Started TaskList: Deploy app 'myapp' (linux) [myhost] - Uploading bundle nodemiral:sess:myhost copy file - src: /tmp/f2722824-dae1-455b-8c08-953c31ef4ed4/bundle.tar.gz, dest: /opt/myapp/tmp/bundle.tar.gz, vars: undefined +0ms [myhost] - Uploading bundle: SUCCESS [myhost] - Setting up Environment Variables nodemiral:sess:myhost copy file - src: /usr/local/lib/node_modules/mup/templates/linux/env.sh, dest: /opt/myapp/config/env.sh, vars: {"env":{...} +14s [myhost] - Setting up Environment Variables: SUCCESS [myhost] - Invoking deployment process [myhost] x Invoking deployment process: FAILED
-----------------------------------STDERR----------------------------------- gyp_rebuild_inside_node_modules:26: = not found
-----------------------------------STDOUT-----------------------------------
Completed TaskList: Deploy app 'myapp' (linux)
— Reply to this email directly or view it on GitHub https://github.com/arunoda/meteor-up/issues/395.
v0.9.6 works fine, v0.9.7 has the same error at the first few runs. However, after switching between different version, v0.9.7 now works. When debugging mup, I found the 'taskList' for deploy is correct, the script is 'linux/deploy.sh'.
The latest v0.10.5 has the same error. I will try more . Maybe unrelated, I got an error that path.resolve(".") returns 'undefined' with v0.10.4.
had a path related issue in v0.10.4. If you could find the issue let me know.
I'm in the middle of re-factoring mup and supporting docker based deployment. It'll fix a lot of issues, I find hard to do support :) It'll have unit/integration tests as well.
Will be releasing in two weeks.
On Mon, Apr 27, 2015 at 9:43 AM Norman notifications@github.com wrote:
v0.9.6 works fine, v0.9.7 has the same error at the first few runs. However, after switching between different version, v0.9.7 now works. When debugging mup, I found the 'taskList' for deploy is correct, the script is 'linux/deploy.sh'.
The latest v0.10.5 has the same error. I will try more . Maybe unrelated, I got an error that path.resolve(".") returns 'undefined' with v0.10.4.
— Reply to this email directly or view it on GitHub https://github.com/arunoda/meteor-up/issues/395#issuecomment-96494626.
mup version: 0.10.4 node version: 0.10.38 os: osx 10.10.2
Mup works well all the time, but suddenly it didn't work anymore. For the same meteor application, I can use 'mup' on other machines, but not on my macbook. After digging the code for a while, I noticed two things: 1, the debug message is missing; 2, even though it knows the target machine is 'linux', but the error is more likely caused by the 'sunos/deploy.sh', rather than the 'linux/deploy.sh'. Here is the line 26 of each file: linux/deploy.sh: } sunons/deploy.sh: gyp_rebuild_inside_node_modules In fact, if I manually run 'linux/deploy.sh', the debug message will show and there is no error. Can anyone help me out?
$ DEBUG=* mup deploy
Meteor Up: Production Quality Meteor Deployments
Building Started: /Users/xxx/myapp
Started TaskList: Deploy app 'myapp' (linux) [myhost] - Uploading bundle nodemiral:sess:myhost copy file - src: /tmp/f2722824-dae1-455b-8c08-953c31ef4ed4/bundle.tar.gz, dest: /opt/myapp/tmp/bundle.tar.gz, vars: undefined +0ms [myhost] - Uploading bundle: SUCCESS [myhost] - Setting up Environment Variables nodemiral:sess:myhost copy file - src: /usr/local/lib/node_modules/mup/templates/linux/env.sh, dest: /opt/myapp/config/env.sh, vars: {"env":{...} +14s [myhost] - Setting up Environment Variables: SUCCESS [myhost] - Invoking deployment process [myhost] x Invoking deployment process: FAILED
Completed TaskList: Deploy app 'myapp' (linux)