Skip to content

Fix compilation #36

@Divide-By-0

Description

@Divide-By-0

The old yarn.lock doesn't seem to work anymore, after a super minor text change -- this attempts to update it to get render builds to pass. Here's the old error:

typescript@patch:typescript@npm%3A5.4.5#~builtin<compat/typescript>::version=5.4.5&hash=a1c5e5: Cannot apply hunk #1

And the full error:

==> Docs on specifying a bun version: https://render.com/docs/bun-version
➤ YN0000: ┌ Resolution step
➤ YN0002: │ @proof-of-twitter/circuits@workspace:packages/circuits doesn't provide @babel/core (p56f84), requested by @babel/preset-env
➤ YN0002: │ @proof-of-twitter/circuits@workspace:packages/circuits doesn't provide @babel/core (p1d7a6), requested by @babel/preset-typescript
➤ YN0002: │ @proof-of-twitter/circuits@workspace:packages/circuits doesn't provide @babel/core (p4ca42), requested by babel-preset-jest
➤ YN0002: │ @zk-email/twitter-verifier-app@workspace:packages/app doesn't provide @babel/core (pc9018), requested by @babel/preset-react
➤ YN0002: │ @zk-email/twitter-verifier-app@workspace:packages/app doesn't provide esbuild (p432bb), requested by @esbuild-plugins/node-globals-polyfill
➤ YN0002: │ @zk-email/twitter-verifier-app@workspace:packages/app doesn't provide esbuild (pcfdb5), requested by @esbuild-plugins/node-modules-polyfill
➤ YN0002: │ @zk-email/twitter-verifier-app@workspace:packages/app doesn't provide node-fetch (p183aa), requested by jsdom-worker
➤ YN0060: │ @zk-email/twitter-verifier-app@workspace:packages/app provides viem (pf0a98) with version 2.13.1, which doesn't satisfy what @rainbow-me/rainbowkit requests
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed in 0s 238ms
➤ YN0000: ┌ Fetch step
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT Packing forge-std@https://github.com/foundry-rs/forge-std.git#commit=52715a217dc51d0de15877878ab8213f6cbbbab5 from sources
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT No package manager configuration detected; defaulting to Yarn
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT 
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: README.md
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: package.json
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/Base.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/Script.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/StdAssertions.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/StdChains.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/StdCheats.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/StdError.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/StdInvariant.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/StdJson.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/StdMath.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/StdStorage.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/StdStyle.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/StdToml.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/StdUtils.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/Test.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/Vm.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/console.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/console2.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/interfaces/IERC1155.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/interfaces/IERC165.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/interfaces/IERC20.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/interfaces/IERC4626.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/interfaces/IERC721.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/interfaces/IMulticall3.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/mocks/MockERC20.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/mocks/MockERC721.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: src/safeconsole.sol
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: Package archive generated in /tmp/xfs-c6a47f2d/package.tgz
➤ YN0000: │ /tmp/xfs-c6a47f2d STDOUT ➤ YN0000: Done in 0s 812ms
➤ YN0000: │ /tmp/xfs-6cccbddd STDOUT Packing snarkjs@https://github.com/sampritipanda/snarkjs.git#commit=fef81fc51d17a734637555c6edbd585ecda02d9e from sources
➤ YN0000: │ /tmp/xfs-6cccbddd STDOUT Using npm for bootstrap. Reason: found npm's "package-lock.json" lockfile
➤ YN0000: │ /tmp/xfs-6cccbddd STDOUT 
➤ YN0000: │ /tmp/xfs-212fdb3d STDOUT Packing snarkjs@https://github.com/vb7401/snarkjs.git#commit=24981febe8826b6ab76ae4d76cf7f9142919d2b8 from sources
➤ YN0000: │ /tmp/xfs-212fdb3d STDOUT Using npm for bootstrap. Reason: found npm's "package-lock.json" lockfile
➤ YN0000: │ /tmp/xfs-212fdb3d STDOUT 
➤ YN0000: │ /tmp/xfs-6cccbddd STDOUT 
➤ YN0000: │ /tmp/xfs-6cccbddd STDOUT added 229 packages, and audited 230 packages in 19s
➤ YN0000: │ /tmp/xfs-6cccbddd STDOUT 
➤ YN0000: │ /tmp/xfs-6cccbddd STDOUT 35 packages are looking for funding
➤ YN0000: │ /tmp/xfs-6cccbddd STDOUT   run `npm fund` for details
➤ YN0000: │ /tmp/xfs-6cccbddd STDOUT 
➤ YN0000: │ /tmp/xfs-6cccbddd STDOUT 6 vulnerabilities (1 moderate, 4 high, 1 critical)
➤ YN0000: │ /tmp/xfs-6cccbddd STDOUT 
➤ YN0000: │ /tmp/xfs-6cccbddd STDOUT To address all issues, run:
➤ YN0000: │ /tmp/xfs-6cccbddd STDOUT   npm audit fix
➤ YN0000: │ /tmp/xfs-6cccbddd STDOUT 
➤ YN0000: │ /tmp/xfs-6cccbddd STDOUT Run `npm audit` for details.
➤ YN0000: │ /tmp/xfs-212fdb3d STDOUT 
➤ YN0000: │ /tmp/xfs-212fdb3d STDOUT added 221 packages, and audited 222 packages in 18s
➤ YN0000: │ /tmp/xfs-212fdb3d STDOUT 
➤ YN0000: │ /tmp/xfs-212fdb3d STDOUT 34 packages are looking for funding
➤ YN0000: │ /tmp/xfs-212fdb3d STDOUT   run `npm fund` for details
➤ YN0000: │ /tmp/xfs-212fdb3d STDOUT 
➤ YN0000: │ /tmp/xfs-212fdb3d STDOUT 8 vulnerabilities (2 moderate, 5 high, 1 critical)
➤ YN0000: │ /tmp/xfs-212fdb3d STDOUT 
➤ YN0000: │ /tmp/xfs-212fdb3d STDOUT To address all issues, run:
➤ YN0000: │ /tmp/xfs-212fdb3d STDOUT   npm audit fix
➤ YN0000: │ /tmp/xfs-212fdb3d STDOUT 
➤ YN0000: │ /tmp/xfs-212fdb3d STDOUT Run `npm audit` for details.
➤ YN0066: │ typescript@patch:typescript@npm%3A5.4.5#~builtin<compat/typescript>::version=5.4.5&hash=a1c5e5: Cannot apply hunk #1
➤ YN0000: │ /tmp/xfs-6cccbddd STDOUT snarkjs-0.5.0.tgz
➤ YN0000: │ /tmp/xfs-212fdb3d STDOUT snarkjs-0.4.12.tgz
➤ YN0066: │ typescript@patch:typescript@npm%3A4.9.5#~builtin<compat/typescript>::version=4.9.5&hash=a1c5e5: Cannot apply hunk #6
➤ YN0013: │ 53 packages were already cached, 1370 had to be fetched
➤ YN0000: └ Completed in 1m 28s
➤ YN0000: ┌ Link step
➤ YN0007: │ puppeteer@npm:18.1.0 must be built because it never has been before or the last one failed
➤ YN0007: │ @zk-email/zk-regex-circom@npm:2.1.0 must be built because it never has been before or the last one failed
➤ YN0007: │ @zk-email/zk-regex-circom@npm:1.3.0 must be built because it never has been before or the last one failed
➤ YN0007: │ puppeteer@npm:21.11.0 must be built because it never has been before or the last one failed
➤ YN0007: │ esbuild@npm:0.20.2 must be built because it never has been before or the last one failed
➤ YN0007: │ blake-hash@npm:2.0.0 must be built because it never has been before or the last one failed
➤ YN0007: │ keccak@npm:3.0.4 must be built because it never has been before or the last one failed
➤ YN0000: │ @zk-email/zk-regex-circom@npm:1.3.0 STDOUT 
➤ YN0000: │ @zk-email/zk-regex-circom@npm:2.1.0 STDOUT 
➤ YN0000: │ puppeteer@npm:21.11.0 STDERR 
➤ YN0000: │ puppeteer@npm:21.11.0 STDERR 
➤ YN0000: │ puppeteer@npm:18.1.0 STDERR 
➤ YN0000: │ puppeteer@npm:21.11.0 STDOUT chrome-headless-shell (121.0.6167.85) downloaded to /opt/render/.cache/puppeteer/chrome-headless-shell/linux-121.0.6167.85
➤ YN0000: │ puppeteer@npm:21.11.0 STDOUT Chrome (121.0.6167.85) downloaded to /opt/render/.cache/puppeteer/chrome/linux-121.0.6167.85
➤ YN0000: │ puppeteer@npm:18.1.0 STDOUT Chromium (1045629) downloaded to /opt/render/project/src/packages/app/node_modules/puppeteer/.local-chromium/linux-1045629
==> Build failed 😞

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghigh

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions