-
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
Getting Object.fromEntries is not a function when deploying in Netlify #48
Comments
My gridsome.config.js
|
This plugin requires at least Node version 12 - if you are using a version below that, then Could you try upgrading Node, and see if that works? |
Sorry, just saw you said it was showing that on deploy - you will need to set the node version in the build environment, for example adding a |
That did the trick, thanks mate! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
All works fine on my local but when deploying I get the following:
TypeError: Object.fromEntries is not a function
at collectionStore.data.map.node (/opt/build/repo/node_modules/gridsome-plugin-flexsearch/gridsome.server.js:72:26)
at Array.map ()
at getStoreCollection (/opt/build/repo/node_modules/gridsome-plugin-flexsearch/gridsome.server.js:56:35)
at collection (/opt/build/repo/node_modules/gridsome-plugin-flexsearch/gridsome.server.js:122:14)
at /opt/build/repo/node_modules/gridsome-plugin-flexsearch/node_modules/p-map/index.js:57:28
Any help would be much appreciated :)
The text was updated successfully, but these errors were encountered: