Yarn Command failed with exit code 1
See original GitHub issueDescription
Yarn serv exit with error code
Environment
- OS (where OpenCTI server runs): Ubuntu 18.04
- OpenCTI version: 4.1.1
- Other environment details: node v12.18.1
- Reference: https://www.notion.so/Manual-deployment-b911beba44234f179841582ab3894bb1
Details:
$ yarn serv
yarn run v1.22.5
$ node build/index.js
{"version":"4.1.1","level":"info","message":"[OPENCTI] Starting platform","timestamp":"2021-02-03T16:51:35.321Z"}
{"version":"4.1.1","level":"info","message":"[CHECK] ElasticSearch is alive","timestamp":"2021-02-03T16:51:35.380Z"}
{"error":{"name":"UnknownError","data":{"message":"","_stack":"S3Error\n at Object.parseError (/home/cti/opencti/node_modules/minio/dist/main/xml-parsers.js:79:11)\n at /home/cti/opencti/node_modules/minio/dist/main/transformers.js:156:22\n at DestroyableTransform._flush (/home/cti/opencti/node_modules/minio/dist/main/transformers.js:80:10)\n at DestroyableTransform.prefinish (/home/cti/opencti/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:129:10)\n at DestroyableTransform.emit (events.js:315:20)\n at prefinish (/home/cti/opencti/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:611:14)\n at finishMaybe (/home/cti/opencti/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:620:5)\n at endWritable (/home/cti/opencti/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:643:3)\n at DestroyableTransform.Writable.end (/home/cti/opencti/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:571:22)\n at IncomingMessage.onend (_stream_readable.js:682:10)\n at Object.onceWrapper (events.js:421:28)\n at IncomingMessage.emit (events.js:327:22)\n at endReadableNT (_stream_readable.js:1221:12)\n at processTicksAndRejections (internal/process/task_queues.js:84:21)"}},"version":"4.1.1","level":"error","message":"[OPENCTI] Platform initialization fail","timestamp":"2021-02-03T16:51:35.408Z"}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Where to look?
Regards, Khalid.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:20 (5 by maintainers)
Top Results From Across the Web
error Command failed with exit code 1. when I try to run yarn
Basically there might be an issue with the wrongly fetched dependency or something happened during transmission. Shailesh advised you removed ...
Read more >yarn+react: error Command failed with exit code 1 · Issue #4009
yarn run v1.3.2 $ react-scripts start 'react-scripts' is not recognized as an internal or external command, operable program or batch file.
Read more >Yarn build results in "error Command failed with exit code 1 ...
Hi Experts, I am trying to build my cutome kibana pluging using yarn build and getting "error Command failed with exit code 1."...
Read more >Error Codes | Yarn - Package Manager
This error is usually caused by a Yarn plugin being missing. YN0011 - FETCHER_NOT_FOUND. A fetcher cannot be found for the given package....
Read more >Command failed with exit code 1: yarn build for coreui-free ...
Command failed with exit code 1 : yarn build for coreui-free-react-admin-template - Build Plugins - Netlify Support Forums.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hello @khalidrehan,
This error means you do not have the minimal required Redis version installed. Please check the documentation here: https://www.notion.so/luatix/64a9fb9f12cd4215a699d13340eecc55?v=185778f3e028452b9443ccfc01fbcaca.
Is your Redis > to 6.0?
Kind regards, Samuel
I’m noticing this errors: