Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

277
Visualizações
I am not able to run yarn export command even I have updated my packages.json file - A next.js related question
PS C:\Users\sujee\Desktop\Next App\panda> yarn export
yarn run v1.22.18
$ next build && next export
info  - Checking validity of types

Failed to compile.

./pages/about.js
8:9  Error: `'` can be escaped with `'`, `‘`, `'`, `’`.  react/no-unescaped-entities

./pages/blog.js
8:29  Error: React Hook "useState" is called in function "blog" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".  react-hooks/rules-of-hooks

./pages/blogpost/[slug].js
9:27  Error: React Hook "useState" is called in function "slug" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".  react-hooks/rules-of-hooks

./pages/index.js
45:16  Error: `'` can be escaped with `'`, `‘`, `'`, `’`.  react/no-unescaped-entities

I have updated my packages.json file and also called functions like getStaticPaths() and getStaticProps()

Please help me with this issue!

I am attaching pic of my packages.json file!

Screenshot of packages.json file

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda