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 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
  % 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-----------------------------------
        est@2.51.0, gtoken@1.2.0)

    ../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 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
      % 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-----------------------------------
    est@2.51.0, gtoken@1.2.0)
4

1 回答 1

0

我认为这可能是我首先要尝试的相关事情。 https://github.com/arunoda/meteor-up#updating

...如果您需要更新 Node 版本,则必须在部署之前再次运行“mup setup”。

你可能很容易忘记这一点。

于 2015-10-09T11:31:52.510 回答