Comments (19)
In your main meteor install:
.meteor\packages\zetoff_accounts-material-ui\0.0.4\web.browser
You can edit the "check_npm.js" file, change line 3 to:
'material-ui': '0.16.1'
FYI this isn't really recommended but for the sake of testing- a quick look at the "main.jsx" (in that same folder) it does look like the following:
import {RaisedButton, FlatButton, FontIcon, TextField, Divider} from 'material-ui';
Should be compatible with MUI 0.16.1 - @PolGuixe could you confirm this and if you're confident update the meteor package?
Regardless- great work!
edit- not sure if this is a 0.16.1 incompatibility or something i'm doing wrong but:
modules.js?hash=3d61712…:21993 Uncaught Error: Objects are not valid as a React child (found: object with keys {message, type}). If you meant to render a collection of children, use an array instead or wrap the object using createFragment(object) from the React add-ons.(…)
When i click submit on the Register form.
edit x2 - Looks like wiping node_modules made things work.
I get a warning in the console instead of a error:
`check-npm-versions.js:53 WARNING: npm peer requirements (for zetoff:accounts-material-ui) not installed:
- [email protected] installed, [email protected] needed
`
So that's a plus, and the react error is gone too.
from accounts-material-ui.
@brendonlamb thanks for all the info! I'll try to fix it today. ;)
from accounts-material-ui.
@brendonlamb let me know if you have any issues with v.0.0.6
from accounts-material-ui.
@brendonlamb I don't understand:
FYI this isn't really recommended but for the sake of testing- a quick look at the "main.jsx" (in that same folder) it does look like the following:
import {RaisedButton, FlatButton, FontIcon, TextField, Divider} from 'material-ui';
from accounts-material-ui.
@PolGuixe i was just noting that those MUI components:
import {RaisedButton, FlatButton, FontIcon, TextField, Divider} from 'material-ui';
Are valid within MUI 0.16.2 (as far as i could tell)
Trying v.0.0.6 now!
from accounts-material-ui.
@brendonlamb would probably give you problems. I am just working on v0.0.7
Give 5 min. :)
from accounts-material-ui.
Yep I'm seeing it :D - no worries!
from accounts-material-ui.
published. Try if v0.0.7 works for you.
from accounts-material-ui.
Hmm- seemed like it was working fine at first but it seems like theres some larger issues. I can't register or change password. Just get piles of
Uncaught Error: Objects are not valid as a React child (found: object with keys {message, type}). If you meant to render a collection of children, use an array instead or wrap the object using createFragment(object) from the React add-ons.(…)
(client-side of course)
Just confirming, i'm using:
"babel-plugin-transform-class-properties": "^6.10.2",
"material-ui": "^0.16.2",
"meteor-node-stubs": "~0.2.0",
"react": "^15.3.2",
"react-addons-pure-render-mixin": "^15.3.2",
"react-dom": "^15.3.2",
"react-mounter": "^1.2.0",
"react-tap-event-plugin": "^1.0.0"
My meteor packages looks like:
react-meteor-data
accounts-password
zetoff:accounts-material-ui
I've been able to make a super-basic login component myself w/ the above packages, but it's no where near as feature complete as yours appears.
from accounts-material-ui.
I was getting similar errors. I mentioned in #8. For me, it turns out there were issues in std:accounts-ui. I applied this PR (studiointeract/accounts-ui#75) to a local version of the package and it fixed it.
from accounts-material-ui.
When do you get this error? At which event of form?
from accounts-material-ui.
It looks like the same issue as #8 @philcruz mentioned.
That said- the std:accounts-ui PR that was mentioned didn't fix it for me.
Really not sure what's going on :/
from accounts-material-ui.
@brendonlamb what event causes the error? or is it right away?
from accounts-material-ui.
Steps:
Login, Log out. Now try logging back in.
Once i get this error i can't do anything, logging in/out, register, everything breaks until a full page reload.
from accounts-material-ui.
I tried updating and I get
The following top-level dependencies were not updated to the very latest version available:
- zetoff:accounts-material-ui 0.0.4 (0.0.7 is available)
I removed the package and added it back but it only adds 0.0.4. What am I missing?
from accounts-material-ui.
For better tracking. Can we create two different issues?
:)
from accounts-material-ui.
@philcruz I moved your issue here: #13
from accounts-material-ui.
@brendonlamb I moved your issue here: #14
from accounts-material-ui.
I think this one can be closed now.
from accounts-material-ui.
Related Issues (19)
- Not able to update HOT 3
- Objects not valid as React Child HOT 12
- Button's href prop doesn't work
- It doesn't work with std:[email protected] HOT 4
- Make it compatible with formMessages
- Make it compatible with TextField inline messages
- Best way to translate the form HOT 1
- Upgrade to [email protected] HOT 2
- DraftJS Kills <Accounts.ui.LoginForm /> - I don’t know why! HOT 1
- Should it not be this.TextField = ref?
- Material.ui 0.17.1 compatibility HOT 1
- Material-Ui Version 17 or 18 Breaks This Package
- Package imports additional React and babel-runtime to client
- No logout button after upgrading from std:[email protected] to 1.2.21 HOT 1
- Material 1.0.x support HOT 5
- Remove fix once it is fixed in std:accounts-ui HOT 10
- Exception in delivering result of invoking 'createUser' HOT 2
- Exception in delivering result of invoking 'login' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from accounts-material-ui.