Giter Club home page Giter Club logo

Comments (6)

iDVB avatar iDVB commented on August 20, 2024 2

Has a contributer looked into this issue yet?

from formsy-material-ui.

timothyallan avatar timothyallan commented on August 20, 2024 1

Yep, modifying line 33 works for me too. Just remember to do it every time you have to nuke your node_modules folder 📆

from formsy-material-ui.

ryanblakeley avatar ryanblakeley commented on August 20, 2024

I don't think it would be ./utils, since this is pulling in utils from the formsy-react project, not this one (formsy-material-ui). But it might make more sense to be importing from lib rather than src. I can't think of a reason not to switch that to formsy-react/lib/utils, can you?

Just for the sake of completion, what versions of formsy-material-ui, formsy-react, and material-ui do you have in your project?

And do you have a link that shows where material-ui decided to drop the autoComplete component? I'm guessing it's for v1 because v0.20 still has it.

from formsy-material-ui.

JesseRWeigel avatar JesseRWeigel commented on August 20, 2024

I was able to get rid of this error by changing line 33 in formsy-material-ui/lib/FormsyAutoComplete.js from var _utils = require('formsy-react/src/utils'); to var _utils = require('formsy-react/lib/utils');

I am not using autocomplete, so I am not sure if this actually fixes anything or just gets rid of the error message.

from formsy-material-ui.

DevJulianSalas avatar DevJulianSalas commented on August 20, 2024

I have faced the same error too.

./node_modules/formsy-material-ui/lib/FormsyAutoComplete.js
Module not found: Can't resolve 'formsy-react/src/utils' in '/app/node_modules/formsy-material-ui/lib'

"dependencies": {
    "axios": "^0.18.0",
    "create-react-class": "^15.6.3",
    "formsy-material-ui": "^0.6.3",
    "formsy-react": "^1.1.4",
    "inline-style-prefixer": "^4.0.0",
    "lint": "^1.1.2",
    "material-ui": "^1.0.0-beta.34",
    "material-ui-icons": "^1.0.0-beta.17",
    "prop-types": "^15.6.1",
    "react": "^16.2.0",
    "react-dom": "^16.2.0",
    "react-router-dom": "^4.2.2",
    "react-scripts": "1.1.1",
    "sockjs-client": "^1.1.4"
  },

But, I am not using FormsyAutoComplete . Can you help me please?.

from formsy-material-ui.

rkuykendall avatar rkuykendall commented on August 20, 2024

There was never a setMuiComponentAndMaybeFocus component in formsy-react. Mostly due to Mui referring to Material UI which is not something formsy-react is involved with. For now I have changed this to use the setMuiComponentAndMaybeFocus utility in utils, as every single other component does.

If any active MUI user has an opinion on if the Autocomplete Labs component should be removed or supported in future releases, your opinion would be appreciated.

If any of you are interested in working with Formsy and Material UI again please reach out, we are looking for contributors.

from formsy-material-ui.

Related Issues (20)

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.