I managed to update a page in my app and successfully pushed it to Git without any hiccups. However, when I tried to deploy the website on Vercel platform, I ran into an unexpected error:
Invalid project directory provided, no such directory: /vercel/path0/run?
How can I troubleshoot this issue and get my website up and running on Vercel? Any helpful insights or suggestions would be highly appreciated. next.config.js
/** @type {import('next').NextConfig} */
module.exports = {
reactStrictMode: true,
swcMinify: true,
trailingSlash: true,
output: 'export',
staticPageGenerationTimeout: 1000,
serverRuntimeConfig: {
PROJECT_ROOT: __dirname,
},
images: {
domains: [
'res.cloudinary.com',
'avatars.githubusercontent.com',
'lh3.googleusercontent.com',
'www.instagram.com',
],
},
}
This is the error message that popped up on Vercel