julianlam / nodebb-plugin-emailer-mailgun

An emailer plugin for NodeBB using Mailgun as a third party service
9 stars 7 forks source link

Cannot view the plugin admin section #1

Closed glend closed 10 years ago

glend commented 10 years ago

It gives me this error:

Uncaught SyntaxError: Invalid regular expression: /{0}/: Nothing to repeat ------- templates.js?v=v0.3.2-917-gfdc6b00:208

julianlam commented 10 years ago

Hi there @anooxy -- v0.2.0 of this plugin should work now.

glend commented 10 years ago

I did a npm update and still get the same issue.

julianlam commented 10 years ago

Please run npm ls to determine your plugin version # On Mar 28, 2014 7:31 AM, "Glend Gjermeni" notifications@github.com wrote:

I did a npm update and still ge the same issue.

— Reply to this email directly or view it on GitHubhttps://github.com/julianlam/nodebb-plugin-emailer-mailgun/issues/1#issuecomment-38909899 .

glend commented 10 years ago

It's v0.1.1

I also get this while issuing that command:

npm ERR! extraneous: nodebb-plugin-emailer-mailgun@0.1.1 /home/glend/xevolution/node_modules/nodebb-plugin-emailer-mailgun
npm ERR! not ok code 0
julianlam commented 10 years ago

@anooxy Cool, run this to update to the latest version: npm install nodebb-plugin-emailer-mailgun@0.2.0

This is assuming you're on latest NodeBB code, and not v0.3.2

glend commented 10 years ago

woa woa, I got a 502 bad request. Now that I checked, the latest code reported on NodeBB site is v0.3.2.

Edit: It broke my top nav buttons and category images after I uninstalled it.

julianlam commented 10 years ago

@anooxy 0.3.2 is the latest published version yes... if you're on the master branch, then you're most likely on the latest version (which is 0.4.0, more or less).

After you uninstall it, make sure you restart your NodeBB as well.

glend commented 10 years ago

I'm on master but the admin panel it reports 0.3.2, I did a pull and then upgrade but it says I'm up to date. That's weird.

julianlam commented 10 years ago

Not to worry, that's normal, as 0.4.0 hasn't been released yet :)

glend commented 10 years ago

What version should I install for mailgun to work?

julianlam commented 10 years ago

I've tested the plugin with the latest version, so if you're up to date on the master branch, you should be fine. Install the plugin with npm i nodebb-plugin-emailer-mailgun@latest, restart NodeBB, and give 'er a shot.

glend commented 10 years ago

I've tried uninstalling and installing both 0.1.1 and 0.2 and it gives me 502 bad gateway after I activate it. I don't know what to try anymore.

julianlam commented 10 years ago

The latest mailgun version should work: npm install nodebb-plugin-emailer-mailgun On Mar 28, 2014 7:26 PM, "Glend Gjermeni" notifications@github.com wrote:

I've tried uninstalling and installing both 0.1.1 and 0.2 and it gives me 502 bad gateway after I activate it. I don't know what to try anymore.

— Reply to this email directly or view it on GitHubhttps://github.com/julianlam/nodebb-plugin-emailer-mailgun/issues/1#issuecomment-38978200 .