-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing wagmi with pnpm give error ERR_PNPM_PREPARE_PKG_FAILURE #1583
Comments
I also have a similar issue on a Dockerfile with Here is the log with this option for pnpm #13 274.9 {"time":1672248140051,"hostname":"buildkitsandbox","pid":1,"level":"warn","name":"pnpm:package-requester","message":"Fetching github.com/ethereumjs/ethereumjs-abi/ee3994657fa7a427238e6ba92a84d0b529bbcde0 failed!","prefix":"/home/node"}
#13 274.9 {"time":1672248140053,"hostname":"buildkitsandbox","pid":1,"level":"error","name":"pnpm","code":"ERR_PNPM_PREPARE_PKG_FAILURE","nam Looking at the log and my /eth-sig-util/1.4.2:
resolution: {integrity: sha512-iNZ576iTOGcfllftB73cPB5AN+XUQAT/T8xzsILsghXC1o8gJUqe3RHlcDqagu+biFpYQ61KQrZZJza8eRSYqw==}
deprecated: Deprecated in favor of '@metamask/eth-sig-util'
dependencies:
ethereumjs-abi: github.com/ethereumjs/ethereumjs-abi/ee3994657fa7a427238e6ba92a84d0b529bbcde0
ethereumjs-util: 5.2.1
dev: false |
@sebpalluel have you found a solution? |
I just found a solution thanks to this post "pnpm": {
"overrides": {
"ethereumjs-abi": "https://registry.npmjs.org/ethereumjs-abi/-/ethereumjs-abi-0.6.8.tgz"
}
} |
This was an issue with pnpm 7.20. Please upgrade to 7.21. |
FYI I still have the same issue when removing the pnpm overrides with [email protected]: With normal reporter: https://app.warp.dev/block/r8w9gWV8MMFOfl8PukUlb6 And here's the Dockerfile: FROM node:18-alpine as deps
RUN apk add --no-cache git
## set global npm path to node user to avoid permission error when installing global packages (pnpm)
ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
ENV PATH=$PATH:/home/node/.npm-global/bin
USER node
WORKDIR /home/node
COPY --chown=node package.json pnpm-lock.yaml ./
RUN npm install -g [email protected] && pnpm install --ignore-scripts --reporter ndjson |
@jxom same error on 7.21. Just a note, I tried on a black project on a linux envirioment and the error don't appear. Could it be a windows related error? |
Solution found upgrading to 7.22 |
Same here, build are now passing without the override because |
This issue has been locked since it has been closed for more than 14 days. If you found a concrete bug or regression related to it, please open a new bug report with a reproduction against the latest wagmi version. If you have any other comments you can create a new discussion. |
Is there an existing issue for this?
Package Version
latest
Current Behavior
I'm trying to install wagmi with this command into a turborepo project
but I have this error:
Expected Behavior
A normal installation
Steps To Reproduce
create a turborepo project and install wagmi with pnpm
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: