kf99916 / gpx-parser-builder

A simple gpx parser and builder between GPX string and JavaScript object

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NPM package not working

oldgitdaddy opened this issue · comments

Currently, when following your documentation, I get the following error:

import GPX from 'gpx-parser-builder';
^^^^^^

SyntaxError: Cannot use import statement outside a module

In particular this line is troublesome:
import GPX from 'gpx-parser-builder';

I installed your package via NPM.

Please advice 🙏

I publish the new version: v1.0.2. Let me know if you need any help.

This error persists. I'm getting the same one now.