Error: resources should be either (a) a string or (b) an array of string or objects

My workaround was to use a code component for the custom file:

psychoJS._serverManager.prepareResources([
{ name: (itemFile), path: (itemFile) }
]);
2 Likes