2015-09-23 152 views
0

我想部署我的應用程序到遠程主機 - 它工作正常,突然間我得到了很多錯誤。流星的部署錯誤

-----------------------------------STDERR----------------------------------- 
    ./deps/libexpat/lib/xmltok.c:186:21: note: ‘isName2’ declared here 
     int (PTRFASTCALL *isName2)(const ENCODING *, const char *); 
         ^ 
-----------------------------------STDERR----------------------------------- 
./deps/libexpat/lib/xmltok.c:186:21: note: ‘isName2’ declared here 
    int (PTRFASTCALL *isName2)(const ENCODING *, const char *); 
        ^
../deps/libexpat/lib/xmltok.c:890:1: warning: missing initializer for field ‘isName2’ of ‘const struct normal_encoding’ [-Wmissing-field-initializers] 
}; 
^ 
../deps/libexpat/lib/xmltok.c:186:21: note: ‘isName2’ declared here 
    int (PTRFASTCALL *isName2)(const ENCODING *, const char *); 
        ^
npm WARN package.json [email protected] No description 
npm WARN package.json [email protected] No repository field. 
npm WARN package.json [email protected] No README data 
    % Total % Received % Xferd Average Speed Time Time  Time Current 
           Dload Upload Total Spent Left Speed 


0  0 0  0 0  0  0  0 --:--:-- --:--:-- --:--:--  0 
curl: (6) Could not resolve host: localhost 
     Latest deployment failed! Reverted back to the previous version. 
     -----------------------------------STDOUT----------------------------------- 
     [email protected], [email protected]) 

    ../deps/libexpat/lib/xmltok.c:890:1: warning: missing initializer for field ‘isName2’ of ‘const struct normal_encoding’ [-Wmissing-field-initializers] 
    }; 
    ^
    ../deps/libexpat/lib/xmltok.c:186:21: note: ‘isName2’ declared here 
     int (PTRFASTCALL *isName2)(const ENCODING *, const char *); 
         ^
    npm WARN package.json [email protected] No description 
    npm WARN package.json [email protected] No repository field. 
    npm WARN package.json [email protected] No README data 
     % Total % Received % Xferd Average Speed Time Time  Time Current 
            Dload Upload Total Spent Left Speed 
    0  0 0  0 0  0  0  0 --:--:-- --:--:-- --:--:--  0curl: (6) Could not resolve host: localhost 
    Latest deployment failed! Reverted back to the previous version. 
    -----------------------------------STDOUT----------------------------------- 
    [email protected], [email protected]) 

回答

0

我認爲這可能是我會先嚐試的相關事情。 https://github.com/arunoda/meteor-up#updating

...如果您需要更新您的節點版本,您必須在部署之前再次運行「mup setup」。

您可能很容易忘記這一點。