Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

278
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!