-
Notifications
You must be signed in to change notification settings - Fork 7
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
Should there be a reference to bower_components in node script? #10
Comments
Ouch. Thanks for reporting. Will try to reproduce/fix but is away for a week and some. Tests running with node works though so I'm surprised. |
I'm currently seeing the same issue while using the JSTS module. ERROR in ./ ERROR in ./ Let me know if I can provide any other info. |
PR to lock the utils version in JSTS bjornharrtell/jsts#174 |
I can confirm that this is happening when using grunt-browserify to include a module that requires jsts. |
Happens when simply trying to use
|
With everyone using bundlers of some sort these days (webpack, browserify, requirejs, etc), could this module be turned to commonjs – removing the need to put out dist files? (which would alleviate this issue) |
https://docs.npmjs.com/cli/shrinkwrap might also be a solution. |
I don't really feel like shrinkwrap is a good solution in this case. I feel like the usecase there is for custom applications with many dependencies but an npm module should be able to build and run without it. |
Ah I see the problem now (didn't quite grasp it before). The minified js in the npm package seem to be dependant on closure-library/closure/goog/bootstrap/nodejs, which I didn't expect. I did not notice because the tests downloads all dependencies. I'll try to fix it asap. |
Think I finally got it fixed. Node version now uses source directly and npm install should handle all dependencies. Please reopen if issues remain. |
Looks like this was something that was picked up in 0.12.6 but seems to be breaking because it can't be found?
@morganherlocker initially ran into this when trying to use turf.js.
The text was updated successfully, but these errors were encountered: