Skip to content
← Back to activity

Public problem

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

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

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.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

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

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