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

267
Views
export declare type ResourceType = Lowercase<Protocol.Network.ResourceType>, Error building nodejs app with Puppeteer and typescript

I'm working on a nodejs project to generate PDFs using Puppeteer in server side. In there I'm using typescript and current version of the Puppeteer is 8.0.0(provides it's own type definitions).

But in the build process, getting the below error

enter image description here

In the types.d.ts file also I can see Lowercase is not defined.

Does anyone knows what is the error?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

just change your typescript version to "typescript": "^4.2.3" in package.json file.

over 4 years ago · Santiago Trujillo Report
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!