An unexpected error occurred: Cannot read property 'canonicalPath' of null