kf99916 / gpx-parser-builder

A simple gpx parser and builder between GPX string and JavaScript object
MIT License
22 stars 11 forks source link

NPM package not working #3

Open oldgitdaddy opened 4 years ago

oldgitdaddy commented 4 years ago

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 🙏

kf99916 commented 4 years ago

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

luispc1998 commented 4 years ago

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