Skip to content
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.

Errors in browser console #63

Closed
anupwankhede opened this issue May 25, 2016 · 3 comments
Closed

Errors in browser console #63

anupwankhede opened this issue May 25, 2016 · 3 comments

Comments

@anupwankhede
Copy link

Hi Alex ,

Thanks for creating excellent notify.js library .
Unfortunately I am getting issues while trying to use this library sample example on my local machine .

notify.js:32 Uncaught SyntaxError: Unexpected token ...
notify.js:178 Uncaught SyntaxError: Unexpected token export

Also please find attached debug file, which got populated while installing dependencies & build file.

npm-debug.log.zip

@alexgibson
Copy link
Owner

Can you please explain what you are doing to encounter this error? It sounds like you are trying to use the ES6 version directly looking at the error?

You need to make sure you have the dependencies installed and transpile to ES5.

Also, you may want to use the current release version instead of using what's currently in master.

@alexgibson
Copy link
Owner

I added a more prominent "Build" section to the README, hope this helps? https://github.com/alexgibson/notify.js/blob/master/README.md#build

@anupwankhede
Copy link
Author

Hi @alexgibson ,
Thanks for the reply.
This is working with downloading latest release in this repo now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants