我正在尝试将我的应用部署到远程主机 - 它工作正常,突然间我遇到了很多错误。
-----------------------------------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)
答案 0 :(得分:0)
我认为这可能是我先尝试的相关事情。 https://github.com/arunoda/meteor-up#updating
...如果您需要更新您的Node版本,您必须运行" mup setup"在部署之前再次。
你可能很容易忘记这一点。