Comments (8)
@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.
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.
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:
npm rm --global material-ui-chip-input
rm -rf node_modules/material-ui-chip-input
npm i --save material-ui-chip-input
- restarted the server
- ??? (building suspense...)
- 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.
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.
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:
npm install --save https://github.com/TeamWertarbyte/material-ui-chip-input.git#bb730e97a37f7
- 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] - tried
npm install
again - got same error 2)
- ran
ls node_modules | grep -ir "material*"
to ensure I did have the module - copied via
cp node_modules/material-ui/chip-input/src/ChipInput.js myProject/src/ChipInput.js
- in my JS file, I made sure to import correctly
import ChipInput from './ChipInput.js';
- got following syntax error:
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.
@syntacticsugar Oh no! :( Here's how you can test it:
- Clone this project, let's say into /home/syntacticsugar/material-ui-chip-input
- In that directory, run
npm i && npm run build
- In your project directory, run
npm link /home/syntacticsugar/material-ui-chip-input
- Build your project
- ???
- 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.
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.
That's nice to hear. :) Glad that this is fixed.
from material-ui-chip-input.
Related Issues (20)
- On Android Mobile: newChipKeys not working HOT 1
- dataSource is not working HOT 1
- Update storybook examples
- How to add date/datetime values as chips?
- Can I add icon to input field like in TextField by using Input Adornments?
- Label positioning on "outlined" variant is incorrect.
- Dependency version mismatch error: Unable to install this module HOT 12
- Dependency error with material-ui/core v5 HOT 3
- Make chips editable in the same place HOT 1
- "future" compatibility issue HOT 1
- Module not found HOT 1
- Make ChipInput a required field in a form HOT 1
- Chip note adding using space bar HOT 1
- MUI v5 HOT 1
- Please add React 17 support HOT 7
- Is there a way to change OnBlur so that focusing and then clicking on a chip doesn't trigger it?
- Submit button not working after update the Android system WebView in android device.
- Performance issue with pasting 100+ items in chip input. Cannot add more chips and DOM freezes
- Should ChipInput component be wrapped by Form tag ?
- unable to install in react 18v HOT 1
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 material-ui-chip-input.