Coder Social home page Coder Social logo

Comments (12)

brendonlamb avatar brendonlamb commented on July 18, 2024 1

K it works!

"dependencies": { "babel-plugin-transform-class-properties": "^6.18.0", "material-ui": "^0.16.3", "meteor-node-stubs": "^0.2.4", "react": "^15.4.0", "react-addons-pure-render-mixin": "^15.4.0", "react-dom": "^15.4.0", "react-mounter": "^1.2.0", "react-tap-event-plugin": "^2.0.1" }

latest react, latest mui, latest react-tap-event-plugin": "^2.0.1

edit- Great works, thanks a ton!

from accounts-material-ui.

PolGuixe avatar PolGuixe commented on July 18, 2024

@brendonlamb do you have a repo where I can try it?

from accounts-material-ui.

brendonlamb avatar brendonlamb commented on July 18, 2024

this appears to be giving me the same problem- just stripped down the little project i was working on as an example:

https://github.com/brendonlamb/zetoff-accounts-ui-test
be sure to run
meteor npm install

from accounts-material-ui.

PolGuixe avatar PolGuixe commented on July 18, 2024

I am getting this error in the repo:

Uncaught Error: Cannot find module 'react/lib/EventPluginHub'
    at require (modules-runtime.js?hash=5b5615c…:119)
    at injectTapEventPlugin (modules.js?hash=e6ff4b1…:27666)
    at meteorInstall.imports.ui.components.App.jsx (App.jsx:7)
    at fileEvaluate (modules-runtime.js?hash=5b5615c…:191)
    at Module.require (modules-runtime.js?hash=5b5615c…:116)
    at Module.Mp.import (modules.js?hash=e6ff4b1…:331)
    at meteorInstall.client.main.js (main.js:1)
    at fileEvaluate (modules-runtime.js?hash=5b5615c…:191)
    at require (modules-runtime.js?hash=5b5615c…:116)
    at app.js?hash=bc5b07e…:378

Does it seems familiar?

Might it be related with... https://github.com/thereactivestack/meteor-webpack/issues/21?

from accounts-material-ui.

PolGuixe avatar PolGuixe commented on July 18, 2024

I am getting these errors in the server console:

Unable to resolve some modules:

  "react/lib/EventPluginHub" in
/Users/PolGuixe/Documents/Developer/Meteor/Apps/tests/zetoff-accounts-ui-test/node_modules/react-tap-event-plugin/src/injectTapEventPlugin.js
(web.browser)
  "react/lib/EventConstants" in
/Users/PolGuixe/Documents/Developer/Meteor/Apps/tests/zetoff-accounts-ui-test/node_modules/react-tap-event-plugin/src/TapEventPlugin.js
(web.browser)
  "react/lib/EventPluginUtils" in
/Users/PolGuixe/Documents/Developer/Meteor/Apps/tests/zetoff-accounts-ui-test/node_modules/react-tap-event-plugin/src/TapEventPlugin.js
(web.browser)
  "react/lib/EventPropagators" in
/Users/PolGuixe/Documents/Developer/Meteor/Apps/tests/zetoff-accounts-ui-test/node_modules/react-tap-event-plugin/src/TapEventPlugin.js
(web.browser)
  "react/lib/SyntheticUIEvent" in
/Users/PolGuixe/Documents/Developer/Meteor/Apps/tests/zetoff-accounts-ui-test/node_modules/react-tap-event-plugin/src/TapEventPlugin.js
(web.browser)
  "react/lib/ViewportMetrics" in
/Users/PolGuixe/Documents/Developer/Meteor/Apps/tests/zetoff-accounts-ui-test/node_modules/react-tap-event-plugin/src/TapEventPlugin.js
(web.browser)

Might be related to having two copies of react as well...

from accounts-material-ui.

brendonlamb avatar brendonlamb commented on July 18, 2024

oh boy. well that's all new to me... both my apps doing this now with a wiped/refreshed node_modules ...

React updated to 15.4.0 about 2 hours ago... regardless this tap event plugin isn't working at all now... which is scary because a TON of stuff relies on it from what I can tell..

Ppl still having trouble w/ this apparently 3 minute lol!
https://github.com/thereactivestack/meteor-webpack/issues/21#issuecomment-260993338

So now i'm not getting the errors but that's because none of the touch/click events work on anything MUI ...

from accounts-material-ui.

brendonlamb avatar brendonlamb commented on July 18, 2024

.... mui/material-ui#5396

It was in the RC too

from accounts-material-ui.

PolGuixe avatar PolGuixe commented on July 18, 2024

@brendonlamb I guess that if I roll back to React 15.3.2 I should be able to debug it.

from accounts-material-ui.

PolGuixe avatar PolGuixe commented on July 18, 2024

@brendonlamb ok I found the problem. I'll need to find a bit of time to fix it.
The problem is related with the error messages which could not be rendered.

e.g. introducing a 6 characters password when the minimum is 7.

from accounts-material-ui.

PolGuixe avatar PolGuixe commented on July 18, 2024

@brendonlamb fixed it. Let me know if v0.0.8 works for you.

from accounts-material-ui.

brendonlamb avatar brendonlamb commented on July 18, 2024

Just curious- in your tests what does your packages.json look like? Did you downgrade ultimately have to use React 15.3.2 ?

edit - i ask because i'm still having issues with the tap-event plugin.

from accounts-material-ui.

PolGuixe avatar PolGuixe commented on July 18, 2024

Closing the issue ;)

from accounts-material-ui.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.