I can't preview my game

Ever time I try to preview my game I get a error message saying

"Sorry, something went wrong
An error occurred while processing your request.

This has been logged, but it would be really helpful if you could let us know a bit more information about what you were doing - please contact us and we'll do our best to fix things."

It has been this way for over a month now, is this a reoccurring problem for anyone else?

Huh. I'm getting that too. (online editor)

I updated the Squiffy code a month or so ago, but I didn't see that happen when I checked afterwards so I don't think it's my fault, I'll see if I can look at it though because it probably is in some way.

The offline editor should work fine for you as long as you are on Windows. (Linux needs some extra steps to get working, and I'm told the MacOS one is completely broken - but I'm slowly working on those problems)
It won't have the extra features mrangel has included in Squiffy though.

For "run" on the online editor I'm also getting a CORS error, but I can't do anything about that one. I'm not sure who can update server headers around here.

If someone can check the servers, can I also be told what version of node it is running?

I feel like the CORS error may be a red herring because it looks like the response to clicking Run in the online editor is an HTTP 500. If the response was successful then the CORS headers would have been included. See https://github.com/textadventures/squiffy/blob/master/server.js.

Checking the Node version is a good shout. Somebody with access to the textadventures.co.uk Azure account would need to look at that.

(I feel like it should be possible to have the compiler run entirely client-side, that's probably how I'd set it up if I was doing this now.)

Yeah, the Node version being out of date is what I think is the most likely culprit.

As for the editor doing the compiling client-side, that's on my list now. It's not as if that isn't the way the desktop version already works. I still have a few things for the editor I have to fix, I haven't had as much time to work on it this past month as I thought I would. (November/December is always busier than I think it will be)

Who has access to the Azure account? Does The Pixie have it, or just Manowar?
Still, shouldn't be too hard to ask it to update node. As long as the forums, etc. still work afterwards. (Does anything else use node too?)

Not sure who has access now. It should be a simple setting within Azure, and it shouldn’t affect anything else as it’s a separate app to the main site.

This topic is now closed. Topics are closed after 60 days of inactivity.