Skip to content
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 an error during Netlify deploy (and npm run build) #118

Closed
BobWalsh opened this issue Apr 1, 2020 · 1 comment
Closed

Getting an error during Netlify deploy (and npm run build) #118

BobWalsh opened this issue Apr 1, 2020 · 1 comment

Comments

@BobWalsh
Copy link

BobWalsh commented Apr 1, 2020

Describe the bug
A clear and concise description of what the bug is.

4:57:41 PM: TypeError: Cannot read property '_collection' of undefined
4:57:41 PM:     at api.afterBuild (/opt/build/repo/node_modules/@microflash/gridsome-plugin-feed/index.js:74:55)
4:57:41 PM:     at Plugins.run (/opt/build/repo/node_modules/gridsome/lib/app/Plugins.js:141:17)

To Reproduce
Steps to reproduce the behavior:

  1. install plugin
  2. gridsome develop works
  3. npm run build on Netlify fails:
  4. See error

Expected behavior
A clean build

Actual behavior

4:57:41 PM: TypeError: Cannot read property '_collection' of undefined
4:57:41 PM:     at api.afterBuild (/opt/build/repo/node_modules/@microflash/gridsome-plugin-feed/index.js:74:55)
4:57:41 PM:     at Plugins.run (/opt/build/repo/node_modules/gridsome/lib/app/Plugins.js:141:17)

Screenshots
Cursor_and_Deploy_details___remote-or-else

Versions (please complete the following information):

  • NodeJS: node v10.19.0
  • TypeScript: n/a
  • npm/yarn: npm v6.13.4
@jpmonette
Copy link
Owner

@BobWalsh Not sure what is the relationship with jpmonette/feed module - maybe raise issue at @microflash/gridsome-plugin-feed?

Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants