question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Typings issues with version 8.0.0 - Cannot find name 'Lowercase'

See original GitHub issue

Steps to reproduce

Tell us about your environment:

  • Puppeteer version: 8.0.0
  • Platform / OS version: Mac OS Big Sur
  • Node.js version: 12.20.1

What steps will reproduce the problem?

  • Install, npm i (with the 8.0.0 version)
  • Build, npm run build

What is the expected result? Project build successfully

What happens instead? Typings issues :

node_modules/puppeteer/lib/types.d.ts:24083:36 - error TS2304: Cannot find name 'Lowercase'.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:19
  • Comments:15

github_iconTop GitHub Comments

8reactions
dbryarcommented, Apr 20, 2021

Confirmed updating Typescript from v3.9.x to ^4.0 resolves this issue npm i -D typescript@^4.0

I would suggest updating the package dependencies to suit

6reactions
SPodjasekcommented, Mar 17, 2021

Lowercase<T> was introduced with TypeScript 4.1, so using any version newer then that should fix this problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

export declare type ResourceType = Lowercase<Protocol ...
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...
Read more >
cannot find name 'fs' - You.com | The search engine you control.
Typescript: Getting started problems (Cannot find module fs and cannot find name typings). Asked Aug 31, 2016 • 1 votes 1 answer. QUESTION...
Read more >
Cannot find module file or its corresponding type declarations.ts ...
Answers related to “Cannot find module file or its corresponding type declarations.ts(2307)”. Could not find a declaration file for module 'module-name'.
Read more >
EditPad Lite Release Notes
We take pride in producing high quality software, and often release free updates to ensure you won't have any problems with our software....
Read more >
npmsearchfullcat_npm143.txt - GitHub
NAME DESCRIPTION AUTHOR DATE VERSION KEYWORDS 007 Returns a deep copy of an object ... user-agent browser http nodejs agentkeepalive Missing keepalive http....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found