score:2

Accepted answer

The error is almost always helpful.

That one implies it can't find that JavaScript file, so you'll need to figure out why. Is your server set up to serve static assets? You'll need to configure this:

app.use(express.static('public'))

Where you've put that file in public/gamesparks/gamesparks-rt.js relative to your Express project.

This is what a 404-type error usually refers to: Your browser requested the file and was told it didn't exist. As Express won't serve up "static" files unless you tell it to, you'll need to configure it.


Related Query

More Query from same tag