Coder Social home page Coder Social logo

Comments (8)

leMaik avatar leMaik commented on May 30, 2024 1

@syntacticsugar (great username btw 😆) Does the commit above fix this issue for you? I'd publish a new version if so.

from material-ui-chip-input.

syntacticsugar avatar syntacticsugar commented on May 30, 2024 1

Wow, thank you for the fast response 😀 I'm about to get on the subway and
commute, but as soon as I get home I'll investigate! 😄

On Sep 29, 2016 3:57 PM, "Maik Marschner" [email protected] wrote:

@syntacticsugar https://github.com/syntacticsugar (great username btw 😆)
Does the commit above fix this issue for you? I'd publish a new version if
so.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#13 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA86tFHxoVTK1JQQdepkGqa34bugXa53ks5qvBgqgaJpZM4KJg9o
.

from material-ui-chip-input.

syntacticsugar avatar syntacticsugar commented on May 30, 2024 1

GOT IT TO WORK! 🎆 🎆

After trying different creative approaches and failing (& getting tons of errors in Chrome browser console), I learned that npm link creates a symlink that needs to be manually deleted. I didn't know how, but I ran:

  1. npm rm --global material-ui-chip-input
  2. rm -rf node_modules/material-ui-chip-input
  3. npm i --save material-ui-chip-input
  4. restarted the server
  5. ??? (building suspense...)
  6. prosper!!! 💰 💰

Hahahahahah! Duplicate text gone!

Feel free to close this issue :) Thank you!

ps. I'm not sure the steps for npm link were properly spelled out or executed, in the standalone material-ui-chip-input directory, I had run git log and saw I had indeed the latest commit, but I still had duplicate text at the time. Thank you for publishing to npm later though, I think once I properly deleted old references, installed correctly, everything worked.

from material-ui-chip-input.

leMaik avatar leMaik commented on May 30, 2024

This is due to a race condition of some events that I try to work around in a pretty ugly way at the moment. I'll see if I can come up with a better solution.

Your usage of the compopnent is correct, it even needs to be inside a MuiThemeProvider. 😉

from material-ui-chip-input.

syntacticsugar avatar syntacticsugar commented on May 30, 2024

Hello! I spent the past hour trying to get your latest commit to work, but I'm not sure I'm succeeding. Here's what I did:

  1. npm install --save https://github.com/TeamWertarbyte/material-ui-chip-input.git#bb730e97a37f7
  2. got this error upon npm start : "Module not found: Error: Cannot resolve 'file' or 'directory' ../node_modules/material-ui-chip-input in [path to my project/src]
  3. tried npm install again
  4. got same error 2)
  5. ran ls node_modules | grep -ir "material*" to ensure I did have the module
  6. copied via cp node_modules/material-ui/chip-input/src/ChipInput.js myProject/src/ChipInput.js
  7. in my JS file, I made sure to import correctly import ChipInput from './ChipInput.js';
  8. got following syntax error:
    screen shot 2016-09-29 at 7 30 08 pm

I'm not sure how to proceed from here. Thank you in advance!

ps. Ha, yes, I'm glad I took 'syntacticsugar', but I settled on that after seeing 'argv0' was already taken 😄

from material-ui-chip-input.

leMaik avatar leMaik commented on May 30, 2024

@syntacticsugar Oh no! :( Here's how you can test it:

  1. Clone this project, let's say into /home/syntacticsugar/material-ui-chip-input
  2. In that directory, run npm i && npm run build
  3. In your project directory, run npm link /home/syntacticsugar/material-ui-chip-input
  4. Build your project
  5. ???
  6. Profit! 😄

But, since my commit from yesterday fixed #14, I'll publish a new release in a moment. So you could just install and test it with the new release.

from material-ui-chip-input.

syntacticsugar avatar syntacticsugar commented on May 30, 2024

Hello, I still have the same exact issues, even after 1) going through your steps outlined above, and 2) deleting my node_modules/ and reinstalling your package with npm i --save material-ui-chip-input

I'm going to debug this further as there might be something wrong I'm doing on my end regarding making sure I have the latest/fixed version, and I'll get back to you!

from material-ui-chip-input.

leMaik avatar leMaik commented on May 30, 2024

That's nice to hear. :) Glad that this is fixed.

from material-ui-chip-input.

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.