Open letUser opened 4 years ago
Installed all dependencies and replace import...from by
var jsHorizons = require("@zachfejes/js-horizons");
And now receive next error. What it can even be?
Also you can write import like this
import Horizons from "@zachfejes/js-horizons";
Hey @letUser! I'll take a look at this this evening and see if we can find the problem.
I had the same problem. Using
const Horizons = require("@zachfejes/js-horizons");
instead of
const { Horizons } = require("@zachfejes/js-horizons");
works.
@zachfejes any update on this issue? neither const Horizons = require("@zachfejes/js-horizons");
nor const { Horizons } = require("@zachfejes/js-horizons");
(like your docs suggest) works
Hello!
I`m using your library to build 3D Solar System Map and really appreciate you for given possibilities to interact with HORIZONS. But unfortunatelly, when I try to initialize new Horizons it sends me error you can see below.
Can you please help me to understand what I do wrong?
Thanks!
Code is simple: