2016-05-02 9 views
1

Ich versuche mein Meteor Projekt schieben mit Meteor bis (mupx), aber ich habe einen Fehler, wenn ich zu implementieren versuchen:Nicht behandelte Fehler (Laich ENOENT) während mupx Bereitstellung unter Verwendung von SSH

~/git/mupx/bitcoinoutlet# mupx deploy 
[..] 
Meteor app path : /root/git/satoshiportal 
Using buildOptions : {} 

events.js:72 
    throw er; // Unhandled 'error' event 

Error: spawn ENOENT 
    at errnoException (child_process.js:1000:11) 
    at Process.ChildProcess._handle.onexit /root/git/satoshiportal 

Dies ist meine mup.json Konfiguration Datei:

{ 
    // Server authentication info 
    "servers": [ 
    { 
     "host": "159.203.12.63", 
     "username": "root", 
     "password": "password", 

     "env": { 
     "NODE_ENV": "production" 
     } 
    } 
    ], 
    "ssl": { 
    "certificate": "./bundle.crt", 
    "key": "./private.key", 
    "port": 443 
    }, 

    // Install MongoDB on the server. Does not destroy the local MongoDB on future setups 
    "setupMongo": true, 
    "appName": "satoshiportal", 
    "app": "/root/git/satoshiportal", 

    "env": { 
    "PORT": 80, 
    "ROOT_URL": "https://www.bitcoinoutlet.com", 
    "MAIL_URL": "smtp://......" 
    }, 

    "deployCheckWaitTime": 15, 
    "enableUploadProgressBar": true 
} 

Und schließlich Versionen:

~/git/mupx/bitcoinoutlet# npm --version 
3.8.1 
~/git/mupx/bitcoinoutlet# node --version 
v0.10.29 

Ich habe nicht fount, wie aktuelle mupx Version abzuzurufen, aber ich versuchte mit vielen Version (ab 1.1 für 1.5) und die letzte Update war npm install [email protected] -g (so ist es wahrscheinlich 1.5.1)

Mupx Protokolle geben Sie mir: [159.203.12.63] sudo: unable to resolve host bitcoinoutlet

Ich habe nichts außer den unbehandelten Fehler und dieses Protokoll. Ich weiß wirklich nicht, was ich als nächstes tun soll.

Thank

+0

In mupx Git Repo gibt es ähnliche Problem https://github.com/arunoda/meteor-up/issues/980. – Tdm

Antwort

0

Gestern arbeitete ich an mupx mit und lief in ähnlichen Error: spawn ENOENT Fehler, in anderem Zusammenhang.

Ich installierte das build-essential C/C++ Compiler-Paket auf dem Server:

sudo apt-get install build-essential

für mich gearbeitet!