Yarn build failed

yarn build failed:

[14:04:35] Error: getaddrinfo ENOTFOUND s3.amazonaws.com s3.amazonaws.com:443
    at errnoException (dns.js:50:10)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
   │ERROR failure
   │ERROR Error: Command failed: yarn run build
   │          at makeError (/Users/kkk/elk/kibana/packages/kbn-pm/dist/index.js:35524:9)
   │          at Promise.all.then.arr (/Users/kkk/elk/kibana/packages/kbn-pm/dist/index.js:35629:16)
   │          at <anonymous>
   │          at process._tickCallback (internal/process/next_tick.js:188:7)

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

whats wrong, why yarn build connect to s3

how can I build a zip release as official

Hey @whoami, as part of the build process, we connect to S3 to download a headless browser for use within Reporting.

how can I build a zip release as official

Would you mind clarifying what you're trying to accomplish?

just wanna make a zip from source code

Then yarn build is what you want. If you want to exclude X-Pack, which is what is downloading that archive from S3, you can use node ./scripts/build.js --oss

no it still access s3 even I use node ./scripts/build.js --oss

Error: getaddrinfo ENOTFOUND s3.amazonaws.com s3.amazonaws.com:443
    at errnoException (dns.js:50:10)

pls help me, expert @Brandon_Kobel

@whoami it looks like even with the --oss flag we're trying to pull those browsers from S3, even though they won't exist in the output package. Are you able to connect the machine that you're building Kibana from to the internet so it's able to connect to S3?

i cannot connect to s3, but I really need to build a zip. help help help!!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.