Comments (3)
+1
I'm seeing this error also. Although I'm not using gulp and using browserify/watchify directly. Does that make a difference?
Here's my package.json file:
{
...
"dependencies": {
...
"react": "^0.14.7",
"react-dropzone-component": "^0.9.0",
...
},
"devDependencies": {
...
"browserify-shim": "^3.8.3",
...
},
"scripts": {
"start": "watchify -o web/static/js/sample.js -v -d web/static/js/Sample.app.js",
"build_deps": "browserify . --deps",
"build": "browserify web/static/js/Sample.app.js -t [envify --NODE_ENV production] | uglifyjs -cm > web/static/js/sample.js",
},
"browserify": {
"transform": [
"reactify",
"envify",
"babelify"
]
}
from react-dropzone-component.
Hey, thanks for reporting! In order to not package React with the component, we need React to be available as a global object. So, for now, the solution here is to ensure that React is available globally.
If any of you have an idea on how we can both not have React inside the component, but also ensure that it's found if it isn't global, I'd love to find a solution 👍
from react-dropzone-component.
FWIW, I was having this problem too but after you fixed Issue #58, this problem is gone too. Thanks!
from react-dropzone-component.
Related Issues (20)
- How to restrict image upload size to 5MB
- Allow to upload only pdf files works on desktop but doesn't work on mobile phone's?
- What is the correct latest version? HOT 2
- React 16 migration (lifecycle methods) HOT 3
- Params do not works HOT 2
- How do I append file(s) to formData? HOT 1
- I need to set withCredentials property to true. How can I do that using provided API?
- How can we updated group permissions using PNP HOT 5
- Trigger success indicator (checkmark) appear when using 'no-url' option
- how get upload progress value in djsConfig
- findDOMNode is deprecated in StrictMode.
- Unable to set dynamic acceptedFiles in react-dropzone-component HOT 2
- next/image is not working with react-dropzone-component
- Pass more parameters in useDropzone
- how to set inital files HOT 2
- Upload .pptx file using Dropzone
- 'DropzoneComponent' does not have any construct or call signatures HOT 2
- Inappropriate file formats are attached on the android phone HOT 1
- Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- Issue with disabling drag and drop functionality
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-dropzone-component.