Comments (5)
Oop, will fix.
On Tuesday, May 3, 2016, Secretmapper [email protected] wrote:
Seems like the upgrade to 0.6.0 draft-js broke the package, since the
export/import-ers uses 0.5.0 as the draft-js dependency.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#41
from react-rte.
Thanks @sstur! I owe you one! 🍻 Yup, peer dependencies can't seem to conflict since it'll have to reference the same package.
from react-rte.
Any timeline on this @sstur ? I know you're probably busy, but it'd be really solid if you can get it fixed soon. I'd really rather not fork 4-5 packages to do a bunch of few line updates 😄
from react-rte.
Here's what I see on a fresh install of the current npm latest [email protected]:
sstur@local:example4$ npm install react-rte
/Users/Me/projects/example4
├── UNMET PEER DEPENDENCY react@^15.0.1
├── UNMET PEER DEPENDENCY react-dom@^15.0.1
└─┬ [email protected]
├── [email protected]
├─┬ UNMET PEER DEPENDENCY [email protected]
│ └─┬ [email protected]
│ ├─┬ [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ └── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├── UNMET PEER DEPENDENCY draft-js@^0.5.0
│ └── [email protected]
├─┬ [email protected]
│ └── UNMET PEER DEPENDENCY draft-js@^0.5.0
├─┬ [email protected]
│ ├── UNMET PEER DEPENDENCY draft-js@^0.5.0
│ └─┬ [email protected]
│ └── UNMET PEER DEPENDENCY draft-js@^0.5.0
├─┬ [email protected]
│ ├── UNMET PEER DEPENDENCY draft-js@^0.5.0
│ └── [email protected]
├── [email protected]
├── [email protected]
├── UNMET PEER DEPENDENCY react@^0.14.0 || ^15.0.0-rc
└── UNMET PEER DEPENDENCY react-dom@^0.14.0 || ^15.0.0-rc
npm WARN [email protected] requires a peer of react@^15.0.1 but none was installed.
npm WARN [email protected] requires a peer of react-dom@^15.0.1 but none was installed.
npm WARN [email protected] requires a peer of draft-js@^0.5.0 but none was installed.
npm WARN [email protected] requires a peer of draft-js@^0.5.0 but none was installed.
npm WARN [email protected] requires a peer of draft-js@^0.5.0 but none was installed.
npm WARN [email protected] requires a peer of draft-js@^0.5.0 but none was installed.
npm WARN [email protected] requires a peer of react@^0.14.0 || ^15.0.0-rc but none was installed.
npm WARN [email protected] requires a peer of react-dom@^0.14.0 || ^15.0.0-rc but none was installed.
npm WARN [email protected] requires a peer of draft-js@^0.5.0 but none was installed.
npm WARN [email protected] requires a peer of draft-js@^0.5.0 but none was installed.
Is this what you've been experiencing?
from react-rte.
OK. I've published a new version. I believe that should fix your issues. Turns out peer dependencies are a strange thing when using npm for front-end projects. Purely by one of the dependencies of this project (draft-js-export-html for instance) bumping the versions in their package.json it can break this package. I guess on server-side projects we would just use regular dependencies instead of peer dependencies but with bundlers like webpack that would mean multiple copies of the same thing gets included in the bundle. The standard way around this seems to be peer dependencies but it's suboptimal at best.
from react-rte.
Related Issues (20)
- Appending custom html in the editor
- Warning: componentWillUpdate has been renamed HOT 2
- read the length of value
- How can I update the paste value while pasting it on rich text editor.
- converting between HTML and MD
- Is there any documentation for this?
- Add React 18.x.x HOT 4
- Show URL link on links hover
- Autofocus not working as expected with React hook forms
- How to get WYSIWYG when images are used
- Many newlines causes editor to go into an infinite loop
- Command for new line
- Size of the bullet points has not changed along with texts font sizes
- Not working on JSX
- Jumping cursor on mobile HOT 1
- ReferenceError: window is not defined HOT 1
- Window is not defined error when run from Next HOT 2
- react-rte dependency issue with [email protected] HOT 2
- Not working react-rte HOT 2
- While adding an empty link in popover, it redirects to home url when clicked
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 react-rte.