Skip to content

"Linting and checking validity of types ... Failed to compile. " - Unable to deploy #60770

Answered by icyJoseph
gowthamc0702 asked this question in Help
Discussion options

You must be logged in to vote

Hi,

You need to remove the export const for a const in:

In App Router, page.tsx files can only export a few things, and ProductPage is not one of them.

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
9 replies
@gowthamc0702
Comment options

@icyJoseph
Comment options

@gowthamc0702
Comment options

@icyJoseph
Comment options

@gowthamc0702
Comment options

Answer selected by gowthamc0702
Comment options

You must be logged in to vote
1 reply
@VernSG
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants