react-rangeslider
react-rangeslider copied to clipboard
react 16 support.
Subj
[email protected] requires a peer of react@^0.14.0 || ^15.0.0 but none was installed.
I have with it:
[2] Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object.
[2] Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object.
[2] in CompanyModify
[2] in Apollo(CompanyModify)
[2] in Apollo(Apollo(CompanyModify))
[2] in Connect(Apollo(Apollo(CompanyModify)))
[2] in Route
[2] in withRouter(Connect(Apollo(Apollo(CompanyModify))))
[2] in div
[2] in Transition
[2] in CSSTransition
[2] in div
[2] in TransitionGroup
[2] in Unknown
[2] in Route
[2] in withRouter()
[2] in div
[2] in Application
[2] in Connect(Application)
[2] in Connect(Connect(Application))
[2] in Route
[2] in withRouter(Connect(Connect(Application)))
[2] in Route
[2] in Switch
[2] in div
[2] in Html
[2] in Connect(Html)
[2] in Route
[2] in withRouter(Connect(Html))
[2] in Router
[2] in StaticRouter
[2] in QueryRecyclerProvider
[2] in ApolloProvider
[2] (node:30274) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: element.type.toLowerCase is not a function
[2] (node:30274) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
@makamekm How to get this?
Worked correctly with React 16.2 for me Only with install warning
@whoisandy I can create PR for update peerDependencies?
Related with #87
Got the same thing, with my package.json
:
root@trusty64:/home/vagrant# /usr/bin/npm install react-rangeslider@^2.2.0 --no-bin-links
/home/vagrant
├── UNMET PEER DEPENDENCY react@^0.14.0 || ^15.0.0
└─┬ [email protected]
├── [email protected]
└── [email protected]
npm WARN enoent ENOENT: no such file or directory, open '/home/vagrant/package.json'
npm WARN [email protected] requires a peer of react@^0.14.0 || ^15.0.0 but none was installed.
npm WARN vagrant No description
npm WARN vagrant No repository field.
npm WARN vagrant No README data
npm WARN vagrant No license field.
https://github.com/whoisandy/react-rangeslider/pull/142
ahem bump?
@whoisandy - any chance this could get merged in?