Follow the example,
In the synthetics.config.ts, i have provided the request value
project: {
id: xxx,
url: xxx,
space: xxx,
},
Run this command,
SYNTHETICS_API_KEY= npm run push
Why does such an error occur?
Follow the example,
In the synthetics.config.ts, i have provided the request value
project: {
id: xxx,
url: xxx,
space: xxx,
},
Run this command,
SYNTHETICS_API_KEY= npm run push
Why does such an error occur?
Thanks for reaching out, @xyngfei. The error seems to indicate that the configuration isn't correctly set. I have a few questions here:
Did you use the wizard to set your your enviroment?
Usually I get started like so:
npm install -g @elastic/synthetics
npx @elastic/synthetics init your-project-name
What directory are you when you run SYNTHETICS_API_KEY=<value> npm run push
?
I have some resources I've created on this subject on my GitHub which may be helpful.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.