Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Errors logs after clean install of version 0.18.0 #868

Closed
caillou opened this issue Nov 7, 2016 · 3 comments
Closed

Errors logs after clean install of version 0.18.0 #868

caillou opened this issue Nov 7, 2016 · 3 comments

Comments

@caillou
Copy link

caillou commented Nov 7, 2016

I just tried to set up a new project with version 0.18.0. After going through the setup instructions, I get the following error logs in the browser when navigating to http://localhost:3334/ :

Warning: Failed prop type: Page: prop type `isLoading` is invalid; it must be a function, usually from React.PropTypes.
Warning: Failed prop type: Required prop `__filename` was not specified in `Page`.
Warning: Failed prop type: Required prop `__url` was not specified in `Page`.
@iamvlado
Copy link

iamvlado commented Nov 7, 2016

I also noticed this problem on an existing project after updating Phenomic

@MoOx
Copy link
Owner

MoOx commented Nov 8, 2016

Thanks for reporting this. I have faced this small warnings as well. I updated some files too quickly, hard to cover this with automated testing :) (doable but tedious).
Will fix this asap.

@MoOx
Copy link
Owner

MoOx commented Nov 8, 2016

FYI it only happen for new projects or for projects using the new way to load pages.

You basically need to update your layouts that use this propTypes definitions:

image

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

No branches or pull requests

3 participants