Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript

Anthony Scott
PLUS
Anthony Scott
Courses Plus Student 9,001 Points

Error in javascript console

When I load the app, I get an error in the Chrome javascript console. I am not sure what it is referring to since is doesn't indicate one of my files in the project.

[HMR] Waiting for update signal from WDS...
warning.js:36 Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
printWarning @ warning.js:36
warning @ warning.js:60
get @ React.js:95
(anonymous) @ Counter.js:21
(anonymous) @ bundle.js:33374
(anonymous) @ bundle.js:33375
__webpack_require__ @ bootstrap 8a07735…:555
fn @ bootstrap 8a07735…:86
(anonymous) @ Player.js:2
(anonymous) @ bundle.js:33314
(anonymous) @ bundle.js:33315
__webpack_require__ @ bootstrap 8a07735…:555
fn @ bootstrap 8a07735…:86
(anonymous) @ Scoreboard.js:6
(anonymous) @ bundle.js:33127
(anonymous) @ bundle.js:33128
__webpack_require__ @ bootstrap 8a07735…:555
fn @ bootstrap 8a07735…:86
(anonymous) @ index.js:6
(anonymous) @ bundle.js:8508
(anonymous) @ bundle.js:8509
__webpack_require__ @ bootstrap 8a07735…:555
fn @ bootstrap 8a07735…:86
(anonymous) @ bootstrap 8a07735…:578
__webpack_require__ @ bootstrap 8a07735…:555
(anonymous) @ bootstrap 8a07735…:578
(anonymous) @ bootstrap 8a07735…:578
warning.js:36 Warning: Failed prop type: Invalid prop `children` of type `array` supplied to `Provider`, expected a single ReactElement.
    in Provider
printWarning @ warning.js:36
warning @ warning.js:60
checkReactTypeSpec @ checkReactTypeSpec.js:80
validatePropTypes @ ReactElementValidator.js:161
createElement @ ReactElementValidator.js:213
(anonymous) @ index.js:13
(anonymous) @ bundle.js:8508
(anonymous) @ bundle.js:8509
__webpack_require__ @ bootstrap 8a07735…:555
fn @ bootstrap 8a07735…:86
(anonymous) @ bootstrap 8a07735…:578
__webpack_require__ @ bootstrap 8a07735…:555
(anonymous) @ bootstrap 8a07735…:578
(anonymous) @ bootstrap 8a07735…:578
invariant.js:44 Uncaught Error: React.Children.only expected to receive a single React element child.
    at invariant (invariant.js:44)
    at Object.onlyChild [as only] (onlyChild.js:33)
    at Provider.render (Provider.js:53)
    at ReactCompositeComponent.js:796
    at measureLifeCyclePerf (ReactCompositeComponent.js:75)
    at ReactCompositeComponentWrapper._renderValidatedComponentWithoutOwnerOrContext (ReactCompositeComponent.js:795)
    at ReactCompositeComponentWrapper._renderValidatedComponent (ReactCompositeComponent.js:822)
    at ReactCompositeComponentWrapper.performInitialMount (ReactCompositeComponent.js:362)
    at ReactCompositeComponentWrapper.mountComponent (ReactCompositeComponent.js:258)
    at Object.mountComponent (ReactReconciler.js:46)