Skip to content

Instantly share code, notes, and snippets.

@CTimmerman
Last active August 29, 2015 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CTimmerman/ae285b5466f6f99f0cb6 to your computer and use it in GitHub Desktop.
Save CTimmerman/ae285b5466f6f99f0cb6 to your computer and use it in GitHub Desktop.
Meteor Up woes on Windows7/Vagrant/Ubuntu14.04x64/nvm/node
C:\code>meteor create --example todos
C:\code>npm install -g mup
C:\code>cd todos
C:\code\todos>mup init
C:\code\todos>git init
C:\code\todos>git add -A
C:\code\todos>git reset mup.json
C:\code\todos>echo mup.json> .gitignore
C:\code\todos>git commit -m "first commit"
C:\code\todos>npm -v
2.10.1
C:\code\todos>npm -g list --depth=0
C:\Users\Cees.Timmerman\AppData\Roaming\npm
├── azure@0.10.6
├── azure-cli@0.9.2
├── bcrypt-nodejs@0.0.3
├── coffee-script@1.9.2
├── demeteorizer@2.2.2
├── learnyounode@2.5.2
├── mup@0.10.7
└── nvmw@0.1.5
C:\code\todos>mup deploy
[Fails. See http://stackoverflow.com/questions/30734699/mup-setup-deploy-econnrefused-on-127-0-0-1 ]
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ mup deploy
/usr/bin/env: node: No such file or directory
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ nvm use 0.12.4
Now using node v0.12.4 (npm v2.10.1)
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ mup deploy
[...]ENOENT[...]
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ sudo ln -s /vagrant /code
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ mup deploy
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
“ Checkout Kadira!
It's the best way to monitor performance of your app.
Visit: https://kadira.io/mup ”
Building Started: /code/todos
The Android platform is not installed; skipping build for it.
The iOS platform is not installed; skipping build for it.
Started TaskList: Deploy app 'todos' (linux)
[127.0.0.1] - Uploading bundle
[127.0.0.1] x Uploading bundle: FAILED
No such file
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ mup setup
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
“ Checkout Kadira!
It's the best way to monitor performance of your app.
Visit: https://kadira.io/mup ”
Started TaskList: Setup (linux)
[127.0.0.1] - Installing PhantomJS
[127.0.0.1] - Installing PhantomJS: SUCCESS
[127.0.0.1] - Setting up Environment
[127.0.0.1] - Setting up Environment: SUCCESS
[127.0.0.1] - Copying MongoDB configuration
[127.0.0.1] - Copying MongoDB configuration: SUCCESS
[127.0.0.1] - Installing MongoDB
[127.0.0.1] - Installing MongoDB: SUCCESS
[127.0.0.1] - Configuring upstart
[127.0.0.1] - Configuring upstart: SUCCESS
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ mup deploy
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
“ Checkout Kadira!
It's the best way to monitor performance of your app.
Visit: https://kadira.io/mup ”
Building Started: /code/todos
The Android platform is not installed; skipping build for it.
The iOS platform is not installed; skipping build for it.
Started TaskList: Deploy app 'todos' (linux)
[127.0.0.1] - Uploading bundle
[127.0.0.1] - Uploading bundle: SUCCESS
[127.0.0.1] - Setting up Environment Variables
[127.0.0.1] - Setting up Environment Variables: SUCCESS
[127.0.0.1] - Invoking deployment process
[127.0.0.1] x Invoking deployment process: FAILED
-----------------------------------STDERR-----------------------------------
ansi/-/has-ansi-0.1.0.tgz
npm http 200 https://registry.npmjs.org/supports-color/-/supports-color-0.2.0.tgz
npm http 200 https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.3.0.tgz
npm http GET https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz
npm http 200 https://registry.npmjs.org/type-of
npm http GET https://registry.npmjs.org/type-of/-/type-of-2.0.1.tgz
sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! weird error 127
npm http 200 https://registry.npmjs.org/type-of/-/type-of-2.0.1.tgz
npm http 200 https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz
npm ERR! tar.unpack error reading /home/vagrant/tmp/npm-5754-LCEAcnR2/1433863923685-0.24364045495167375/tmp.tgz
npm http 200 https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.1.0.tgz
npm http 200 https://registry.npmjs.org/has-ansi/-/has-ansi-0.1.0.tgz
npm ERR! not ok code 0
-----------------------------------STDOUT-----------------------------------
> ./bcrypt: npm install due to binary npm modules
bindings@1.0.0 node_modules/bindings
nodeunit@0.9.1 node_modules/nodeunit
└── tap@0.7.1 (inherits@2.0.1, buffer-equal@0.0.1, slide@1.1.6, deep-equal@1.0.0, yamlish@0.0.7, nopt@3.0.2, mkdirp@0.5.1, glob@4.5.3, difflet@0.2.6, runforcover@0.0.2)
> fibers@1.0.5 install /opt/todos/tmp/bundle/programs/server/node_modules/fibers
> node ./build.js
----------------------------------------------------------------------------
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ node
>
(^C again to quit)
>
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ node -v
v0.12.4
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ npm -v
2.10.1
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ npm -g list --depth=0
/home/vagrant/.nvm/versions/node/v0.12.4/lib
├── mup@0.10.7
└── npm@2.10.1
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ which node
/home/vagrant/.nvm/versions/node/v0.12.4/bin/node
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ echo $PATH
/home/vagrant/.nvm/versions/node/v0.12.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ sudo su
root@vagrant-ubuntu-trusty-64:/vagrant/todos# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
root@vagrant-ubuntu-trusty-64:/vagrant/todos# export PATH=/home/vagrant/.nvm/versions/node/v0.12.4/bin:$PATH
root@vagrant-ubuntu-trusty-64:/vagrant/todos# mup deploy
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
“ Checkout Kadira!
It's the best way to monitor performance of your app.
Visit: https://kadira.io/mup ”
Building Started: /code/todos
The Android platform is not installed; skipping build for it.
The iOS platform is not installed; skipping build for it.
Started TaskList: Deploy app 'todos' (linux)
[127.0.0.1] - Uploading bundle
[127.0.0.1] - Uploading bundle: SUCCESS
[127.0.0.1] - Setting up Environment Variables
[127.0.0.1] - Setting up Environment Variables: SUCCESS
[127.0.0.1] - Invoking deployment process
[127.0.0.1] x Invoking deployment process: FAILED
-----------------------------------STDERR-----------------------------------
tp 200 https://registry.npmjs.org/has-ansi/-/has-ansi-0.1.0.tgz
npm http 200 https://registry.npmjs.org/type-of/-/type-of-2.0.1.tgz
npm http GET https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz
npm http GET https://registry.npmjs.org/ansi-regex
npm http GET https://registry.npmjs.org/ansi-regex
npm http 200 https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz
npm http 304 https://registry.npmjs.org/ansi-regex
npm http 304 https://registry.npmjs.org/ansi-regex
npm http GET https://registry.npmjs.org/ansi-regex/-/ansi-regex-0.2.1.tgz
npm http 200 https://registry.npmjs.org/ansi-regex/-/ansi-regex-0.2.1.tgz
sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! weird error 127
npm http GET https://registry.npmjs.org/amdefine/-/amdefine-0.1.0.tgz
npm http 200 https://registry.npmjs.org/amdefine/-/amdefine-0.1.0.tgz
npm ERR! not ok code 0
-----------------------------------STDOUT-----------------------------------
> ./bcrypt: npm install due to binary npm modules
bindings@1.0.0 node_modules/bindings
nodeunit@0.9.1 node_modules/nodeunit
└── tap@0.7.1 (buffer-equal@0.0.1, inherits@2.0.1, slide@1.1.6, deep-equal@1.0.0, yamlish@0.0.7, nopt@3.0.2, mkdirp@0.5.1, difflet@0.2.6, glob@4.5.3, runforcover@0.0.2)
> fibers@1.0.5 install /opt/todos/tmp/bundle/programs/server/node_modules/fibers
> node ./build.js
----------------------------------------------------------------------------
root@vagrant-ubuntu-trusty-64:/vagrant/todos# cd ~
root@vagrant-ubuntu-trusty-64:~# nano .profile
root@vagrant-ubuntu-trusty-64:~# cat .profile
# ~/.profile: executed by Bourne-compatible login shells.
if [ "$BASH" ]; then
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
fi
mesg n
nvm use 0.12.4
export PATH=/home/vagrant/.nvm/versions/node/v0.12.4/bin:$PATH
root@vagrant-ubuntu-trusty-64:~# cd /vagrant/todos
root@vagrant-ubuntu-trusty-64:/vagrant/todos# mup deploy
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
“ Checkout Kadira!
It's the best way to monitor performance of your app.
Visit: https://kadira.io/mup ”
Building Started: /code/todos
The Android platform is not installed; skipping build for it.
The iOS platform is not installed; skipping build for it.
Started TaskList: Deploy app 'todos' (linux)
[127.0.0.1] - Uploading bundle
[127.0.0.1] - Uploading bundle: SUCCESS
[127.0.0.1] - Setting up Environment Variables
[127.0.0.1] - Setting up Environment Variables: SUCCESS
[127.0.0.1] - Invoking deployment process
[127.0.0.1] x Invoking deployment process: FAILED
-----------------------------------STDERR-----------------------------------
p 304 https://registry.npmjs.org/escape-string-regexp
npm http 304 https://registry.npmjs.org/strip-ansi
npm http GET https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz
sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! weird error 127
npm http 304 https://registry.npmjs.org/ansi-styles
npm http 304 https://registry.npmjs.org/has-ansi
npm http 200 https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz
npm ERR! tar.unpack error reading /home/vagrant/tmp/npm-6166-RyqmWXLx/1433865540079-0.9471762373577803/tmp.tgz
npm http 304 https://registry.npmjs.org/type-of
npm http 304 https://registry.npmjs.org/supports-color
npm http GET https://registry.npmjs.org/ansi-regex
npm http GET https://registry.npmjs.org/ansi-regex
npm http 304 https://registry.npmjs.org/ansi-regex
npm http 304 https://registry.npmjs.org/ansi-regex
npm ERR! not ok code 0
-----------------------------------STDOUT-----------------------------------
> ./bcrypt: npm install due to binary npm modules
bindings@1.0.0 node_modules/bindings
nodeunit@0.9.1 node_modules/nodeunit
└── tap@0.7.1 (buffer-equal@0.0.1, inherits@2.0.1, slide@1.1.6, deep-equal@1.0.0, yamlish@0.0.7, nopt@3.0.2, mkdirp@0.5.1, difflet@0.2.6, glob@4.5.3, runforcover@0.0.2)
> fibers@1.0.5 install /opt/todos/tmp/bundle/programs/server/node_modules/fibers
> node ./build.js
----------------------------------------------------------------------------
root@vagrant-ubuntu-trusty-64:/vagrant/todos# exit
exit
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ nano ~/.profile
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ cat ~/.profile
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
nvm use 0.12.4
export PATH=/home/vagrant/.nvm/versions/node/v0.12.4/bin:$PATH
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ mup deploy
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
“ Checkout Kadira!
It's the best way to monitor performance of your app.
Visit: https://kadira.io/mup ”
Building Started: /code/todos
The Android platform is not installed; skipping build for it.
The iOS platform is not installed; skipping build for it.
Started TaskList: Deploy app 'todos' (linux)
[127.0.0.1] - Uploading bundle
[127.0.0.1] - Uploading bundle: SUCCESS
[127.0.0.1] - Setting up Environment Variables
[127.0.0.1] - Setting up Environment Variables: SUCCESS
[127.0.0.1] - Invoking deployment process
[127.0.0.1] x Invoking deployment process: FAILED
-----------------------------------STDERR-----------------------------------
RR! or email it to:
npm ERR! <npm-@googlegroups.com>
npm ERR! System Linux 3.13.0-53-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /opt/todos/tmp/bundle/programs/server
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /home/vagrant/tmp/npm-6452-Fd0St82n/1433866436480-0.08004591800272465/package/.npmignore
npm ERR! fstream_path /home/vagrant/tmp/npm-6452-Fd0St82n/1433866436480-0.08004591800272465/package/.npmignore
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call chown
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:305:19
npm ERR! fstream_stack /usr/lib/nodejs/graceful-fs/polyfills.js:133:7
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm http 304 https://registry.npmjs.org/type-of
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /opt/todos/tmp/bundle/programs/server/npm-debug.log
npm ERR! not ok code 0
-----------------------------------STDOUT-----------------------------------
> ./bcrypt: npm install due to binary npm modules
bindings@1.0.0 node_modules/bindings
nodeunit@0.9.1 node_modules/nodeunit
└── tap@0.7.1 (buffer-equal@0.0.1, inherits@2.0.1, slide@1.1.6, deep-equal@1.0.0, yamlish@0.0.7, nopt@3.0.2, mkdirp@0.5.1, difflet@0.2.6, glob@4.5.3, runforcover@0.0.2)
> fibers@1.0.5 install /opt/todos/tmp/bundle/programs/server/node_modules/fibers
> node ./build.js
----------------------------------------------------------------------------
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ tail -n30 /opt/todos/tmp/bundle/programs/server/npm-debug.log
1126 verbose true,/opt/todos/tmp/bundle/programs/server/node_modules,/opt/todos/tmp/bundle/programs/server/node_modules unbuild fibers@1.0.5
1127 info postuninstall fibers@1.0.5
1128 silly gunzTarPerm modes [ '755', '644' ]
1129 silly gunzTarPerm extractEntry package.json
1130 silly gunzTarPerm extractEntry .npmignore
1131 silly gunzTarPerm extractEntry README.md
1132 error weird error 127
1133 verbose exit [ 1, true ]
1134 silly gunzTarPerm extractEntry LICENSE
1135 error Error: ENOENT, chown '/home/vagrant/tmp/npm-6452-Fd0St82n/1433866436480-0.08004591800272465/package/.npmignore'
1136 error If you need help, you may report this log at:
1136 error <http://github.com/isaacs/npm/issues>
1136 error or email it to:
1136 error <npm-@googlegroups.com>
1137 error System Linux 3.13.0-53-generic
1138 error command "/usr/bin/nodejs" "/usr/bin/npm" "install"
1139 error cwd /opt/todos/tmp/bundle/programs/server
1140 error node -v v0.10.25
1141 error npm -v 1.3.10
1142 error path /home/vagrant/tmp/npm-6452-Fd0St82n/1433866436480-0.08004591800272465/package/.npmignore
1143 error fstream_path /home/vagrant/tmp/npm-6452-Fd0St82n/1433866436480-0.08004591800272465/package/.npmignore
1144 error fstream_type File
1145 error fstream_class FileWriter
1146 error fstream_finish_call chown
1147 error code ENOENT
1148 error errno 34
1149 error fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:305:19
1149 error fstream_stack /usr/lib/nodejs/graceful-fs/polyfills.js:133:7
1149 error fstream_stack Object.oncomplete (fs.js:107:15)
1150 verbose exit [ 34, true ]
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ mup deploy
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
“ Checkout Kadira!
It's the best way to monitor performance of your app.
Visit: https://kadira.io/mup ”
Building Started: /code/todos
The Android platform is not installed; skipping build for it.
The iOS platform is not installed; skipping build for it.
Started TaskList: Deploy app 'todos' (linux)
[127.0.0.1] - Uploading bundle
[127.0.0.1] - Uploading bundle: SUCCESS
[127.0.0.1] - Setting up Environment Variables
[127.0.0.1] - Setting up Environment Variables: SUCCESS
[127.0.0.1] - Invoking deployment process
[127.0.0.1] x Invoking deployment process: FAILED
-----------------------------------STDERR-----------------------------------
GET https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz
npm http 304 https://registry.npmjs.org/ansi-styles
npm http 304 https://registry.npmjs.org/strip-ansi
npm http 304 https://registry.npmjs.org/escape-string-regexp
npm http 304 https://registry.npmjs.org/has-ansi
npm http 304 https://registry.npmjs.org/supports-color
npm http GET https://registry.npmjs.org/ansi-regex
npm http GET https://registry.npmjs.org/ansi-regex
sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! weird error 127
npm http 200 https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz
npm http 304 https://registry.npmjs.org/type-of
npm ERR! tar.unpack error reading /home/vagrant/tmp/npm-13152-b7IHVHCU/1433941418585-0.9937446545809507/tmp.tgz
npm http 304 https://registry.npmjs.org/ansi-regex
npm http 304 https://registry.npmjs.org/ansi-regex
npm ERR! not ok code 0
-----------------------------------STDOUT-----------------------------------
> ./bcrypt: npm install due to binary npm modules
bindings@1.0.0 node_modules/bindings
nodeunit@0.9.1 node_modules/nodeunit
└── tap@0.7.1 (buffer-equal@0.0.1, inherits@2.0.1, slide@1.1.6, deep-equal@1.0.0, yamlish@0.0.7, nopt@3.0.2, mkdirp@0.5.1, difflet@0.2.6, glob@4.5.3, runforcover@0.0.2)
> fibers@1.0.5 install /opt/todos/tmp/bundle/programs/server/node_modules/fibers
> node ./build.js
----------------------------------------------------------------------------
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ node -v
v0.12.4
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ echo $PATH
/home/vagrant/.nvm/versions/node/v0.12.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ sudo apt-get install nodejs nodejs-dev npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
nodejs is already the newest version.
nodejs-dev is already the newest version.
nodejs-dev set to manually installed.
npm is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ sudo npm install npm -g
npm http GET https://registry.npmjs.org/npm
npm http 200 https://registry.npmjs.org/npm
npm http GET https://registry.npmjs.org/npm/-/npm-2.11.1.tgz
npm http 200 https://registry.npmjs.org/npm/-/npm-2.11.1.tgz
/usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
npm@2.11.1 /usr/local/lib/node_modules/npm
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ mup deploy
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
“ Checkout Kadira!
It's the best way to monitor performance of your app.
Visit: https://kadira.io/mup ”
Building Started: /code/todos
The Android platform is not installed; skipping build for it.
The iOS platform is not installed; skipping build for it.
Started TaskList: Deploy app 'todos' (linux)
[127.0.0.1] - Uploading bundle
[127.0.0.1] - Uploading bundle: SUCCESS
[127.0.0.1] - Setting up Environment Variables
[127.0.0.1] - Setting up Environment Variables: SUCCESS
[127.0.0.1] - Invoking deployment process
[127.0.0.1] x Invoking deployment process: FAILED
-----------------------------------STDERR-----------------------------------
/usr/bin/env: node: No such file or directory
-----------------------------------STDOUT-----------------------------------
> ./bcrypt: npm install due to binary npm modules
----------------------------------------------------------------------------
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ node -v
v0.12.4
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ echo $PATH
/home/vagrant/.nvm/versions/node/v0.12.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ ls -l /home/vagrant/.nvm/versions/node/v0.12.4/bin
total 19732
lrwxrwxrwx 1 vagrant vagrant 31 Jun 8 13:09 mup -> ../lib/node_modules/mup/bin/mup
-rwxr-xr-x 1 vagrant vagrant 20205113 May 23 03:41 node
lrwxrwxrwx 1 vagrant vagrant 38 May 23 03:41 npm -> ../lib/node_modules/npm/bin/npm-cli.js
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ npm -v
2.10.1
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ ls -l /usr/bin/nodejs
-rwxr-xr-x 1 root root 1462424 Mar 27 2014 /usr/bin/nodejs
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ ls -l /usr/bin/node
ls: cannot access /usr/bin/node: No such file or directory
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ sudo ln -s /usr/bin/nodejs /usr/bin/node
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ mup deploy
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
“ Checkout Kadira!
It's the best way to monitor performance of your app.
Visit: https://kadira.io/mup ”
Building Started: /code/todos
The Android platform is not installed; skipping build for it.
The iOS platform is not installed; skipping build for it.
Started TaskList: Deploy app 'todos' (linux)
[127.0.0.1] - Uploading bundle
[127.0.0.1] - Uploading bundle: SUCCESS
[127.0.0.1] - Setting up Environment Variables
[127.0.0.1] - Setting up Environment Variables: SUCCESS
[127.0.0.1] - Invoking deployment process
[127.0.0.1] x Invoking deployment process: FAILED
-----------------------------------STDERR-----------------------------------
node_modules/bcrypt',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
gyp info ok
npm WARN package.json meteor-dev-bundle@0.0.0 No description
npm WARN package.json meteor-dev-bundle@0.0.0 No repository field.
npm WARN package.json meteor-dev-bundle@0.0.0 No README data
npm WARN package.json meteor-dev-bundle@0.0.0 No license field.
js-bson: Failed to load c++ bson extension, using pure JS version
stop: Unknown instance:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 3099: Connection refused
App did not pick up! Please check app logs.
-----------------------------------STDOUT-----------------------------------
e
COPY Release/bcrypt_lib.node
make: Leaving directory `/opt/todos/tmp/bundle/programs/server/npm/npm-bcrypt/node_modules/bcrypt/build'
> fibers@1.0.5 install /opt/todos/tmp/bundle/programs/server/node_modules/fibers
> node ./build.js
`linux-x64-v8-3.14` exists; testing
Binary is fine; exiting
underscore@1.5.2 node_modules/underscore
semver@4.1.0 node_modules/semver
eachline@2.3.3 node_modules/eachline
└── type-of@2.0.1
fibers@1.0.5 node_modules/fibers
chalk@0.5.1 node_modules/chalk
├── escape-string-regexp@1.0.3
├── ansi-styles@1.1.0
├── supports-color@0.2.0
├── strip-ansi@0.3.0 (ansi-regex@0.2.1)
└── has-ansi@0.1.0 (ansi-regex@0.2.1)
source-map-support@0.2.8 node_modules/source-map-support
└── source-map@0.1.32 (amdefine@0.1.0)
Waiting for MongoDB to initialize. (5 minutes)
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
connected
todos start/running, process 13702
Waiting for 30 seconds while app is booting up
Checking is app booted or not?
----------------------------------------------------------------------------
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ npm install -g node-gyp
/home/vagrant/.nvm/versions/node/v0.12.4/bin/node-gyp -> /home/vagrant/.nvm/versions/node/v0.12.4/lib/node_modules/node-gyp/bin/node-gyp.js
node-gyp@2.0.1 /home/vagrant/.nvm/versions/node/v0.12.4/lib/node_modules/node-gyp
├── rimraf@2.4.0
├── osenv@0.1.1
├── graceful-fs@3.0.8
├── semver@4.3.6
├── nopt@3.0.2 (abbrev@1.0.7)
├── fstream@1.0.6 (inherits@2.0.1)
├── which@1.1.1 (is-absolute@0.1.7)
├── minimatch@1.0.0 (sigmund@1.0.1, lru-cache@2.6.4)
├── mkdirp@0.5.1 (minimist@0.0.8)
├── tar@1.0.3 (inherits@2.0.1, block-stream@0.0.8)
├── path-array@1.0.0 (array-index@0.1.1)
├── glob@4.5.3 (inherits@2.0.1, once@1.3.2, inflight@1.0.4, minimatch@2.0.8)
├── npmlog@1.2.1 (ansi@0.3.0, are-we-there-yet@1.0.4, gauge@1.2.0)
└── request@2.57.0 (caseless@0.10.0, aws-sign2@0.5.0, forever-agent@0.6.1, stringstream@0.0.4, tunnel-agent@0.4.0, oauth-sign@0.8.0, isstream@0.1.2, json-stringify-safe@5.0.1, node-uuid@1.4.3, qs@3.1.0, combined-stream@1.0.3, mime-types@2.0.14, form-data@0.2.0, bl@0.9.4, http-signature@0.11.0, tough-cookie@1.2.0, hawk@2.3.1, har-validator@1.7.1)
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ cd ..
vagrant@vagrant-ubuntu-trusty-64:/vagrant$ git clone https://github.com/mongodb/js-bson.git
Cloning into 'js-bson'...
remote: Counting objects: 1272, done.
remote: Total 1272 (delta 0), reused 0 (delta 0), pack-reused 1272
Receiving objects: 100% (1272/1272), 722.85 KiB | 288.00 KiB/s, done.
Resolving deltas: 100% (710/710), done.
Checking connectivity... done.
vagrant@vagrant-ubuntu-trusty-64:/vagrant$ cd js-bson
vagrant@vagrant-ubuntu-trusty-64:/vagrant/js-bson$ npm install
npm WARN package.json bson@0.3.2 No license field.
npm WARN installMany nopt was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in u npacked tree
npm WARN installMany npmlog was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
npm WARN installMany request was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found i n unpacked tree
npm WARN installMany semver was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
npm WARN installMany tar was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in un packed tree
npm WARN installMany tar-pack was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
npm WARN installMany mkdirp was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
npm WARN installMany rc was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unp acked tree
npm WARN installMany rimraf was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
npm WARN optional dep failed, continuing bson-ext@0.1.7
npm WARN optional dep failed, continuing uglify-js@2.3.6
npm ERR! Linux 3.13.0-53-generic
npm ERR! argv "/home/vagrant/.nvm/versions/node/v0.12.4/bin/node" "/home/vagrant/.nvm/versions/node/v0.12.4/bin/npm" "install"
npm ERR! node v0.12.4
npm ERR! npm v2.10.1
npm ERR! path ../hogan.js/bin/hulk
npm ERR! code EPROTO
npm ERR! errno -71
npm ERR! EPROTO, symlink '../hogan.js/bin/hulk'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Linux 3.13.0-53-generic
npm ERR! argv "/home/vagrant/.nvm/versions/node/v0.12.4/bin/node" "/home/vagrant/.nvm/versions/node/v0.12.4/bin/npm" "install"
npm ERR! node v0.12.4
npm ERR! npm v2.10.1
npm ERR! path npm-debug.log.5af8c5ba528501c73c6556721a3331a9
npm ERR! code ETXTBSY
npm ERR! errno -26
npm ERR! ETXTBSY, rename 'npm-debug.log.5af8c5ba528501c73c6556721a3331a9'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /vagrant/js-bson/npm-debug.log
vagrant@vagrant-ubuntu-trusty-64:/vagrant/js-bson$ node-gyp rebuild
gyp info it worked if it ends with ok
gyp info using node-gyp@2.0.1
gyp info using node@0.12.4 | linux | x64
gyp WARN EACCES user "vagrant" does not have permission to access the dev dir "/home/vagrant/.node-gyp/0.12.4"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp"
gyp http GET http://nodejs.org/dist/v0.12.4/node-v0.12.4.tar.gz
gyp http 200 http://nodejs.org/dist/v0.12.4/node-v0.12.4.tar.gz
gyp http GET http://nodejs.org/dist/v0.12.4/SHASUMS256.txt
gyp http 200 http://nodejs.org/dist/v0.12.4/SHASUMS256.txt
gyp info spawn python2
gyp info spawn args [ '/home/vagrant/.nvm/versions/node/v0.12.4/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/vagrant/js-bson/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/vagrant/.nvm/versions/node/v0.12.4/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/tmp/.node-gyp/0.12.4/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/tmp/.node-gyp/0.12.4',
gyp info spawn args '-Dmodule_root_dir=/vagrant/js-bson',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp: binding.gyp not found (cwd: /vagrant/js-bson) while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/home/vagrant/.nvm/versions/node/v0.12.4/lib/node_modules/node-gyp/lib/configure.js:355:16)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 3.13.0-53-generic
gyp ERR! command "node" "/home/vagrant/.nvm/versions/node/v0.12.4/bin/node-gyp" "rebuild"
gyp ERR! cwd /vagrant/js-bson
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok
vagrant@vagrant-ubuntu-trusty-64:/vagrant/js-bson$ cd ../todos
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ sudo su
root@vagrant-ubuntu-trusty-64:/vagrant/todos# git clone https://github.com/mongodb/js-bson.git
Cloning into 'js-bson'...
remote: Counting objects: 1272, done.
remote: Total 1272 (delta 0), reused 0 (delta 0), pack-reused 1272
Receiving objects: 100% (1272/1272), 722.85 KiB | 329.00 KiB/s, done.
Resolving deltas: 100% (710/710), done.
Checking connectivity... done.
root@vagrant-ubuntu-trusty-64:/vagrant/todos# cd js-bson
root@vagrant-ubuntu-trusty-64:/vagrant/todos/js-bson# npm install
npm WARN package.json bson@0.3.2 No license field.
npm WARN installMany nopt was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
npm WARN installMany npmlog was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
npm WARN installMany request was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
npm WARN installMany semver was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
npm WARN installMany tar was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
npm WARN installMany tar-pack was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
npm WARN installMany mkdirp was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
npm WARN installMany rc was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
npm WARN installMany rimraf was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
npm WARN optional dep failed, continuing bson-ext@0.1.7
npm WARN optional dep failed, continuing uglify-js@2.3.6
npm ERR! Linux 3.13.0-53-generic
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.10.25
npm ERR! npm v2.11.1
npm ERR! path ../hogan.js/bin/hulk
npm ERR! code UNKNOWN
npm ERR! errno -1
npm ERR! UNKNOWN, symlink '../hogan.js/bin/hulk'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Linux 3.13.0-53-generic
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.10.25
npm ERR! npm v2.11.1
npm ERR! path npm-debug.log.83695d42300839f185645cac7e0d9699
npm ERR! code UNKNOWN
npm ERR! errno -1
npm ERR! UNKNOWN, rename 'npm-debug.log.83695d42300839f185645cac7e0d9699'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /vagrant/todos/js-bson/npm-debug.log
root@vagrant-ubuntu-trusty-64:/vagrant/todos/js-bson# node-gyp rebuild
gyp info it worked if it ends with ok
gyp info using node-gyp@2.0.1
gyp info using node@0.10.25 | linux | x64
gyp http GET http://nodejs.org/dist/v0.10.25/node-v0.10.25.tar.gz
gyp http 200 http://nodejs.org/dist/v0.10.25/node-v0.10.25.tar.gz
gyp http GET http://nodejs.org/dist/v0.10.25/SHASUMS256.txt
gyp http 200 http://nodejs.org/dist/v0.10.25/SHASUMS256.txt
gyp info spawn python2
gyp info spawn args [ '/usr/local/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/vagrant/todos/js-bson/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/root/.node-gyp/0.10.25/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/root/.node-gyp/0.10.25',
gyp info spawn args '-Dmodule_root_dir=/vagrant/todos/js-bson',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp: binding.gyp not found (cwd: /vagrant/todos/js-bson) while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/node-gyp/lib/configure.js:355:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 3.13.0-53-generic
gyp ERR! command "node" "/usr/local/bin/node-gyp" "rebuild"
gyp ERR! cwd /vagrant/todos/js-bson
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok
root@vagrant-ubuntu-trusty-64:/vagrant/todos# node -v
v0.10.25
root@vagrant-ubuntu-trusty-64:/vagrant/todos# exit
exit
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ node -v
v0.12.4
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ sudo su
root@vagrant-ubuntu-trusty-64:/vagrant/todos# mup deploy
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
“ Checkout Kadira!
It's the best way to monitor performance of your app.
Visit: https://kadira.io/mup ”
Building Started: /code/todos
The Android platform is not installed; skipping build for it.
The iOS platform is not installed; skipping build for it.
Errors prevented bundling:
While building the application:
js-bson/test/browser/test.html:1: bad formatting in HTML template
=> Build Error. Check the logs printed above.
root@vagrant-ubuntu-trusty-64:/vagrant/todos# exit
exit
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ mup deploy
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
“ Checkout Kadira!
It's the best way to monitor performance of your app.
Visit: https://kadira.io/mup ”
Building Started: /code/todos
The Android platform is not installed; skipping build for it.
The iOS platform is not installed; skipping build for it.
Errors prevented bundling:
While building the application:
js-bson/test/browser/test.html:1: bad formatting in HTML template
=> Build Error. Check the logs printed above.
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$ cat js-bson/test/browser/test.html
<html>
<head>
<title>Example tests</title>
<!-- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -->
<!-- Actual BSON Code -->
<script src="../../browser_build/bson.js"></script>
<!-- Unit tests -->
<script src="nodeunit.js"></script>
<script src="bson_test.js"></script>
</head>
<body>
<script>
nodeunit.run({
'bson_test': bson_test,
});
</script>
</body>
</html>
vagrant@vagrant-ubuntu-trusty-64:/vagrant/todos$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment