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

react 16 support. #91

Open
XaveScor opened this issue Oct 11, 2017 · 9 comments · May be fixed by #142
Open

react 16 support. #91

XaveScor opened this issue Oct 11, 2017 · 9 comments · May be fixed by #142

Comments

@XaveScor
Copy link

Subj

@tomellwood
Copy link

[email protected] requires a peer of react@^0.14.0 || ^15.0.0 but none was installed.

@makamekm
Copy link

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.

@XaveScor
Copy link
Author

@makamekm How to get this?

@avdeev
Copy link

avdeev commented Dec 19, 2017

Worked correctly with React 16.2 for me
Only with install warning

@whoisandy I can create PR for update peerDependencies?

@avdeev
Copy link

avdeev commented Dec 21, 2017

Related with #87

@jeff1evesque
Copy link

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.

@Saibamen
Copy link

Saibamen commented Aug 9, 2019

#142

@jufemaiz
Copy link

ahem bump?

@aalibasic
Copy link

@whoisandy - any chance this could get merged in?

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

Successfully merging a pull request may close this issue.

8 participants