-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't make it work with browserify #39
Comments
Can you send through the |
It is using a import driftZoom from 'drift-zoom'; |
Strange. Would it be possible for you to set up a reduced test case I can play with? |
Running
{
"scripts": {
"build": "browserify --noparse=drift-zoom index.js -o test.js -dv"
},
"dependencies": {
"drift-zoom": "^0.3.4"
},
"devDependencies": {
"browserify": "^12.0.1"
}
}
var driftZoom = require('drift-zoom'); Results in this error: Error: Cannot find module './util/throwIfMissing' from 'c:\x\y\drift-zoom-test\node_modules\drift-zoom\dist'
at c:\x\y\drift-zoom-test\node_modules\resolve\lib\async.js:55:21
at load (c:\x\y\drift-zoom-test\node_modules\resolve\lib\async.js:69:43)
at onex (c:\x\y\drift-zoom-test\node_modules\resolve\lib\async.js:92:31)
at c:\x\y\drift-zoom-test\node_modules\resolve\lib\async.js:22:47
at FSReqWrap.oncomplete (fs.js:82:15) |
Perfect, I'll take a look at this tomorrow. Thanks @heloyo! |
Hmmm. @heloyo, I spent a fair bit of time trying to figure out what's going on here. For some reason, Browserify seems to be ignoring(?) |
Weird bug! Changing to |
@jmagnusson, I think this was happening because |
See #39 and strawdynamics/luminous#29 for more details!
Hi! I am trying to use this package with Browserify, but I can't really make it work.
The command I am running looks like:
browserify --noparse=drift-zoom example/index.js -o example/build.js -dv
Doing a
console.log
in browserify showsnoParse: [ 'drift-zoom' ]
.The error I get looks like:
Any ideas?
The text was updated successfully, but these errors were encountered: