I am having trouble deploying a Frontity project to Vercel. Every time I try to deploy, I get an error message that says “isModuleDeclaration has been deprecated, please migrate to isImportOrExportDeclaration”. After some investigation, I discovered that this error is related to the @babel/types
package, which Frontity core depends on.
To try and resolve this issue, I created a fresh Frontity project and added a version.json
file with some basic information. Then, I logged in with npx login
and deployed the project to Vercel using npx vercel
. However, the deployment still failed with the same error message.
I am seeking help from the community to figure out how to resolve this issue and successfully deploy my Frontity project to Vercel. Any advice or suggestions would be greatly appreciated.