# Cannot find name 'TransferERC20' while npm install

**URL:** https://collective.flashbots.net/t/cannot-find-name-transfererc20-while-npm-install/735
**Category:** Searchers
**Tags:** question
**Created:** [November 15, 2022, 9:01pm UTC](https://collective.flashbots.net/t/cannot-find-name-transfererc20-while-npm-install/735 "2022-11-15T21:01:27Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![lui](https://collective.flashbots.net/letter_avatar_proxy/v4/letter/l/d6d6ee/32.png) [@lui](https://collective.flashbots.net/u/lui)
#### Post date: [November 15, 2022, 9:01pm UTC](https://collective.flashbots.net/t/cannot-find-name-transfererc20-while-npm-install/735/1 "2022-11-15T21:01:28Z")

</div>

Hello!

As I want to use for ERC20 token transfer - I uncommented these lines:

```auto
const tokenAddress = "0x....";
  const engine: Base = new TransferERC20(
    provider,
    walletExecutor.address,
    RECIPIENT,
    tokenAddress

```

But when I run **npm install** it stops with this error:

src/index.ts:82:28 - error TS2304: Cannot find name ‘TransferERC20’.

How can I make it work?

Thank you!

---

<div class="post-metadata">

### Author: ![lui](https://collective.flashbots.net/letter_avatar_proxy/v4/letter/l/d6d6ee/32.png) [@lui](https://collective.flashbots.net/u/lui)
#### Post date: [November 20, 2022, 1:14pm UTC](https://collective.flashbots.net/t/cannot-find-name-transfererc20-while-npm-install/735/2 "2022-11-20T13:14:21Z")

</div>

For those who interested, solution:  
comment this line  
// import { Approval721 } from “./engine/Approval721”;  
uncomment/add this line  
import { TransferERC20 } from “./engine/TransferERC20”;

---

<div class="post-metadata">

### Author: ![bhaki](https://collective.flashbots.net/user_avatar/collective.flashbots.net/bhaki/32/853_2.png) [@bhaki](https://collective.flashbots.net/u/bhaki)
#### Post date: [January 8, 2023, 8:45pm UTC](https://collective.flashbots.net/t/cannot-find-name-transfererc20-while-npm-install/735/3 "2023-01-08T20:45:48Z")

</div>

Could you please provide more context. Is it a general question or related to any flashbots library ? Need more info- library, version ,context etc.
