-
Notifications
You must be signed in to change notification settings - Fork 77
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
leaflet-geopackage build problems #89
Comments
I added webworkify but I cannot make the syntax error occur. What did you run to make that happen? |
I was just running npm commands:
2:
I'm running Ubuntu 14.04.5 LTS, with npm version 4.0.5 |
AH, npm 4.0.5 was the key. Added in your uglify fix and merged to master. |
Hi!
Thanks for your work on leaflet-geopackage; it's great to see this integration between leaflet and geopackage-js working.
I thought I should report two problems with your current package.json that I found when trying to compile leaflet-geopackage:
"Error: Cannot find module 'webworkify' from '/home/user/geopackage/leaflet/node_modules/geopackage/lib/tiles/creator'"
)"uglifyjs failed: SyntaxError: Unexpected token: operator (>)"
.A fix to the missing webworkify package is straight-forward.
And I found a fix for the uglify-js problem here: ionic-team/ionic-framework#8817 , which says you need to reference the "harmony" branch of uglify-js.
The revised package.json file that includes these two fixes is attached.
package.json.txt
The text was updated successfully, but these errors were encountered: