meteor-up
meteor-up copied to clipboard
npm WARN deprecated [email protected]: Please upgrade to @mapbox/node-pre-gyp
Mup version (1.5.7
):
Mup config
{
"servers": {
"one": {
"host": "1.2.3.4",
"username": "root",
"password": "password"
},
"two": {
"host": "1.2.3.4",
"username": "root",
"password": "password"
}
},
"app": {
"name": "my-app",
"path": "../../",
"type": "meteor",
"volumes": {
"/etc/localtime": "/etc/localtime",
"/home/wwwroot/meteor/data": "/data"
},
"docker": {
"image": "zodern/meteor:root",
"buildInstructions": [
"RUN npm config set registry https://registry.npm.taobao.org",
"RUN npm config set disturl https://npm.taobao.org/mirrors/node/",
"RUN npm config set phantomjs_cdnurl https://npm.taobao.org/mirrors/phantomjs/",
"RUN npm config set bcrypt_lib_binary_host_mirror https://***.jimuku.com/package/bcrypt_lib/",
"RUN npm config set node_libcurl_binary_host_mirror https://***.jimuku.com/package/node_libcurl/",
"RUN npm config set nodejieba_binary_host_mirror https://***.jimuku.com/package/nodejieba/"
],
"prepareBundle": true,
"useBuildKit": false,
"stopAppDuringPrepareBundle": true,
"imagePort": 3000
},
"servers": {
"one": {},
"two": {}
},
"deployCheckPort": 3010,
"buildOptions": {
"serverOnly": true,
"allowIncompatibleUpdates": true,
"buildLocation": "/var/folders/5h/yzqmtcwx13x5hl_r1_46rs2c0000gn/T/mup-meteor-202fcc2a-ec31-4da3-855c-a72e15c4ad29",
"cleanBuildLocation": true
},
"env": {
"TOOL_NODE_FLAGS": "--max-old-space-size = 4096",
"METEOR_DISABLE_OPTIMISTIC_CACHING": 1,
"PUPPETEER_SKIP_CHROMIUM_DOWNLOAD": 1,
"HTTP_FORWARDED_COUNT": 1,
"testMode": 1,
"enumCordova": 1,
"PORT": 3010,
"ROOT_URL": "https://subdomain.host.com",
"MONGO_URL": "mongodb://user:[email protected]:27017/:27017,ip:27017,ip/db?replicaSet=mongo",
"VIRTUAL_HOST": "subdomain.host.com",
"HTTPS_METHOD": "noredirect",
"LETSENCRYPT_HOST": "subdomain.host.com",
"LETSENCRYPT_EMAIL": "[email protected]",
"VIRTUAL_PORT": 3000
},
"enableUploadProgressBar": true,
"deployCheckWaitTime": 600
},
"proxy": {
"domains": "subdomain.host.com",
"loadBalancing": true,
"ssl": {
"letsEncryptEmail": "[email protected]"
}
},
"plugins": [
"mup-disk"
]
}
✓ Config is valid
Output of command
---> Using cache
---> 9275eadfbe34
Step 24/25 : COPY ./ /built_app
---> d4ffff97e5c7
Step 25/25 : RUN cd /built_app/programs/server && npm install --unsafe-perm
---> Running in db7df482a11e
npm WARN deprecated [email protected]: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
I've been stuck here for hours and hours,Who has the same problem, I am in mainland China, thank you
When the wait was over, it failed
npm WARN deprecated [email protected]: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! network request to https://github.com/meteor/node-source-map-support/tarball/1912478769d76e5df4c365e147f25896aee6375e failed, reason: socket hang up
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-03-14T05_02_39_810Z-debug.log
解决了吗,遇到一样的问题
解决了吗?