-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Hi! I pulled your npm module, did a simple var chart = require('astrologyjs').Chart, and tried to run a basic nodejs server, and got a slew of issues.
- You should tell people what version of node is required--I was on an older version and got the let keyword not currently supported error.
2)Your production code currently is not complied for node-- after getting around the node version issue, I got 'unexpected token export' error. I was forced to download babel and a couple of babels friends, run babel node-modules/astrologyjs/dist/astrologyjs.js to compile your file into my own script file, and then import that new file. Consequently, I had to copy your dependency of request-promise.
After all that, I finally could get a server running without even attempting to use your code, just import it.
I could be missing something basic, but since your readme doesn't say I needed any config or setup, I didn't think importing would be an issue. Please update your readme to explain how to install, or let me know if I've made a silly mistake.
Excited to use it!
Metadata
Metadata
Assignees
Labels
No labels