-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Algolia failed: report is not defined #8
Comments
I am getting the same error. There clearly is an issue with the plugin, but the reason it's being discovered, seems to be that @stefanisarie and I have some issues with our "collections" definition. I have now fixed my issues, but the issue with "report is not defined", still remains. |
I'm getting the same error but only when I try to upload a list to the Algolia definition ---
title: DevSpace
description: Comunidad de desarrollo
tags: [ 'Programación','Ciencia','Emprendimiento' ]
--- My collections object: const collections = [
{
query: `{
allCommunity {
edges {
node {
id
title
path
description
image
tags
}
}
}
}`,
transformer: ({ data }) => data.allCommunity.edges.map(({ node }) => node),
indexName: process.env.ALGOLIA_INDEX_NAME || "communities", // Algolia index name
itemFormatter: (item) => {
return {
objectID: item.id,
title: item.title,
path: item.path,
description: item.description,
image: item.image,
tags: item.tags,
};
},
},
]; A long as I don't use the tags property it will work |
Hi, we also get this random error too. Netlify error : Our query while (keepQuerying) {
} return collections module.exports = companiesImport(); Our plugins |
I opened a PR to fix this: #12 This happens when there's something wrong with executing the query, but the plugin isn't able to provide a more helpful error message. If anyone is seeing this error, it's probably because there's something wrong with the query. |
Hi there!
Thank you for taking time to port this plugin and contributing to Gridsome's plugin ecosystem. I was following your instruction of how to setup this plugin with my project. When I build the project however, I'm getting the following error:
Algolia collection #0: Executing query
Error: Algolia failed: report is not defined
I've searched the internet for a meaning of this error, found none! Can you please let me know what am I doing wrong?
Thank you, once again!
The text was updated successfully, but these errors were encountered: