-
Notifications
You must be signed in to change notification settings - Fork 2
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
ModuleBuildError: Module build failed: TypeError: Cannot read property 'posts' of undefined #5
Comments
Same problem here will poke a little. |
So I've found a workaround. :) In
change it to:
The above will still result in an error because of the breaking changes of spike-collections on paginations so you need to update to latest spike version in order for it to work or remove the lines pertaining to pagination so that it'll be like this below:
When I tried updating to latest Spike version 2.2, I encountered another error pertaining to |
Ah sorry, that's an issue with this template, which clearly has not been updated recently enough. You can remove |
Confirmed that this is a bug, working on a fix |
In progress here: #6 |
ping @jescalan: guessing you forgot about this... :) |
Yeah, I'm sorry I just do not have the bandwidth to complete this right now 😢 |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Build errors on compile. Cannot
GET /
in browser when viewing site.If the current behavior is a bug, please provide the steps to reproduce.
I basically followed the instructions on readme. Installation via sprout or spike cli didn't worked. I also tried running this through
node_modules/spike/bin/spike
without success as well.npm start
orspike watch
orspike compile
- all result to same errorWhat is the expected behavior?
It should successfully compile and be able to browse the static compiled site.
Please mention your Spike version, and operating system version.
Tested on the following:
Latest version 2.2.0.
Node version v.8.1.4
CentOS release 6.6 (Final)
Latest version 2.2.0.
Node version v.6.8.1
OS X El Capitan Version 10.11.6
Please provide build logs, error, etc.
The text was updated successfully, but these errors were encountered: