I've had to perform the creation of the Node server a few times just to get my head around it; but after having successfully run node server I'm able to login & access the tools. However, whenever I try to upload an asset the asset loads and accepts the description etc. but the server throws the following error:
TypeError: Cannot create property 'path' on string 'required'
at Array.forEach (<anonymous>)
at SchemaString.SchemaType.doValidate (C:\Users\b.barfoot\Desktop\ADAPT2\Pre-requisites\adapt_authoring\node_modules\mongoose\lib\schematype.js:939:19)
at process._tickCallback (internal/process/next_tick.js:61:11)
I made sure to create an environmental variable called 'path', as per the tutorial, but I can't seem to pass this error. The same error is also thrown when I try to save a course, or make an update.
Any help would be great,