Error: unknown resource

Hey @kierad, sorry to hear you are having problems getting your experiment to work as expected.

It might be that you need to manually queue up images and other resources for downloading as the experiment boots up. Could you try amending the psychoJS.start() call in your script as follows?

psychoJS.start({
  expName: expName,
  expInfo: expInfo,
  // Manually populate the resources array, `name` should match
  // the `image` prop in your ImageStim
  resources: [
    {
      path: 'resources/stims/banana.png',
      name: 'resources/stims/banana.png'
    }
  ]
});

I hope that helps some, please feel free to follow up if not.