所以这是一个问题,我找到了答案,而不是问一个问题,所以希望这是允许的.我有一个从1.2升级到1.3的流星应用程序并部署到一个docker容器中.我收到了这个错误:
/root/.meteor/packages/templating/.1.1.7.kbxyh0++os+web.browser+web.cordova/plugin.compileTemplatesBatch.os/npm/node_modules/meteor/promise/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:116
throw error;
^
Error: Builder can not write without either data or a file path or a symlink path: os/packages/packages.json
at Builder.write (/tools/isobuild/builder.js:251:13)
at Builder.writeToGeneratedFilename (/tools/isobuild/builder.js:382:10)
at /tools/isobuild/isopack.js:1400:27
at Array.forEach (native)
at Function._.each._.forEach (/root/.meteor/packages/meteor-tool/.1.3.0_3.fc5itk++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
at _.each.builder.copyDirectory.from (/tools/isobuild/isopack.js:1372:11)
at Array.forEach (native)
at Function._.each._.forEach (/root/.meteor/packages/meteor-tool/.1.3.0_3.fc5itk++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
at /tools/isobuild/isopack.js:1263:9
at Isopack._.extend.saveToPath (/tools/isobuild/isopack.js:1641:7)
at /tools/isobuild/isopack-cache.js:323:23
at /tools/utils/buildmessage.js:359:18
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:352:34
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:350:23
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at Object.enterJob (/tools/utils/buildmessage.js:324:26)
at [object Object]._loadLocalPackage (/tools/isobuild/isopack-cache.js:260:18)
at /tools/isobuild/isopack-cache.js:194:16
at … 我有一个包含嵌套文档数组的文档。如果文档包含所有指定的嵌套文档,我需要返回匹配项。
这是映射的相关部分:
"element": {
"dynamic": "false",
"properties": {
"tenantId": {
"type": "string",
"index": "not_analyzed"
},
"fqn": {
"type": "string",
"index": "not_analyzed"
},
"id": {
"type": "string",
"index": "not_analyzed"
},
"name": {
"type": "string",
"index": "not_analyzed"
},
"type": {
"type": "string",
"index": "not_analyzed"
},
"location": {
"type": "string",
"index": "not_analyzed"
},
"tags": {
"type": "nested",
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"dataSourceId": {
"type": "long",
"index": "not_analyzed"
},
"name": {
"type": "string",
"index": "not_analyzed"
},
"value": {
"type": …Run Code Online (Sandbox Code Playgroud)