ArcGis with Meteor 1.4

Has anyone had success integrating ArcGIS maps in a meteor web app?

By just including <script src="https://js.arcgis.com/4.3/"></script> in my index.js, I get a bunch of errors. I know meteor uses webpack so how do I use imports?

I have not been successful in using the node node-arcgis module either.

Please help.

Jaizen

This question appears to have been dug up by a spam, but let’s answer this for people looking to do something similar.
The npm package seems to have been discontinued, as it has not received any updates in almost a decade:

Looking at the official website/documentation:

I’m not so sure that this is the best service for Node based apps. Still it looks like in the latest versions you call their API, which you can do on Meteor server via methods or GraphQL queries.

As for importing, the code would look something like this:

import { ArcGIS } from 'node-arcgis'

// or for this package more likely:

import ArcGIS from 'node-arcgis'