[SOLVED] Cannot find module '@moralisweb3/streams-typings'

Following the https://docs.moralis.io/docs/using-firebase tutorial using firebase. I have an issue building the index.ts with getBalances. When I run npm run build after entering the information I get this error

node_modules/@moralisweb3/streams/lib/index.d.ts:2:29 - error TS2307: Cannot find module '@moralisweb3/streams-typings' or its corresponding type declarations.

2 import type * as Types from '@moralisweb3/streams-typings';                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This is not an import I added to my functions/src/index.ts. Any ideas?

Update: The code this compiles and works. I realized that the TSC is only showing me warning and maybe having issues with that module. I dont know if streams will work but the tutorial did work. After running npm run build I continued even with the warning and the tutorial still works.

FYI for anyone else running into it.

2 Likes