# Cannot install @thirdweb-dev/contracts on a Pipedream Node.js code step

## The problem

Installing @thirdweb-dev/contracts in a Pipedream Node.js step fails, which also blocks @thirdweb-dev/sdk. The package authors put the ethers requirement in devDependencies of the SDK package.json, and Pipedream only installs production dependencies, so the import breaks.

## The verified fix

Import ethers explicitly above the thirdweb import, for example import { ethers } from "ethers@5", instead of relying on the transitive dependency. A user confirmed this plus the Node 18 runtime upgrade fixed their workflow.

Source: https://github.com/PipedreamHQ/pipedream/issues/5775