-
Notifications
You must be signed in to change notification settings - Fork 5
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
Error installing glslify-optimize #2
Comments
Having the exact same issue. |
I think the problem might actually be with the mapbox-glsl-optimizer dependency, but I'm getting the same issue. |
This is because the V8 API changes with every Node release, unless you're using nan for handling the bindings and have that up to date too then it won't compile across every version. It won't work for io.js either, and sadly all I can recommend is falling back to It's an issue with mapbox-glsl-optimizer but unfortunately native bindings are a little beyond my understanding – @mikolalysenko @tmpvar do you guys have any ideas? :) |
Actually was able to get this compiled on a fork, but I still can't get it working. I ended up ditching mapbox-glsl-optimizer and using marcs-glsl-optimizer instead. There's some things in this package that just look weird to me. I'm not sure where 'glslify/adapter.js' is coming from. I've never seen it in the node tree and omitting this statement seems to let things continue onward. Also the final
I'm wondering if those checks are looking for the wrong thing. Perhaps something changed in the way that these trees are structured in the past couple years? Here's a sample node output.
|
Ok, think I got this sorted here aferriss@3680d4c and seems to be working for me. I'm not 100% that it is safe for all setups, would love if someone could take a look and see if I'm doing anything dangerous. Otherwise, I'm happy to submit a pr! |
Been having some issues installing this module. Have you guys ran into something similar?
Gist: https://gist.github.com/FarhadG/604299589d2233b7f4df
Node v0.12.0
The text was updated successfully, but these errors were encountered: