If you are seeing this message on your website, it means the source code was uploaded directly.
You must run npm run build on your computer and upload the contents of the dist folder.
npm run build