google-api-nodejs-client
google-api-nodejs-client copied to clipboard
Cannot find module 'googleapis' or its corresponding type declarations.
Environment details
- OS: Mac 2022
- Node.js version: 14.17.6
- npm version: 1
googleapisversion:^97.0.0
Steps to reproduce
- npm i googleapis
- run server
When I add the newest version to my repo and I build my environment I get error. Cannot find module 'googleapis' or its corresponding type declarations. I noticed in another folder we are running googleapis "^92.0.0" So I downgraded to that and it worked perfectly. So downgrading for now but thought you might like to know.
My IDE found the module and was working fine for things like autocomplete. But it looks like webpack was having trouble compiling it.