Comments (3)
I have had this issue many times before. There is a simple solution.
This library depends on an older version of react and react-dom. You need to go inside the dependency tree of the library and then modify the package.json to link the library to the main project's react current version.
This should resolve the issue. The commands can be found online (npm link).
PS. @apenab Thanks for creating this package! Extremely useful!
from react-dymo.
Hi, thx for the report, I´ll try to fix the error ASAP
from react-dymo.
I ran into this issue specifically in my local environment, but on either my staging or production server. It was driving me insane. After a bunch of research, I was able to resolve this issue following this walkthrough:
https://stackoverflow.com/a/57422196
No peerDependency. No reverting versions of react (this wasn't an option for me anyway).
I ran yarn link
in my virtual environment terminal in both my react\ and react-dom\ directories in my node_modules\ and finally ran yarn link react
and yarn link react-dom
in the react-dymo-hooks\ directory in the same node_modules\
Hope this helps other developers.
from react-dymo.
Related Issues (15)
- Add function for print label HOT 9
- Bug with dymo web service HOT 2
- Printing blanks from Windows computer HOT 5
- Connection refused, CORS error HOT 3
- Less renders HOT 1
- Multiple labels in one job HOT 6
- Feature Request -- add non hook methods
- Remove react-dom from dependencies
- Migrate to TypeScript all project
- Separate the core of DymoJs into an isolated package
- Remove usage of the "axios" library HOT 1
- Change from Webpack to Rollup for better module handler
- Emojis
- Enhance project HOT 7
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-dymo.