Fixed the error 'The top-level frontend package has been deprecated.'