-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
only-allow: not found / MODULE_NOT_FOUND #9078
Comments
@PeterBenc are you able to share a reproducible example? Link to the repo this is happening in or a minimal reproducible example? |
@roninjin10 sorry, no, I haven't been able to reproduce it, it just kept happening randomly in circleCI or in heroku. Its a private repo so cannot share more. |
By randomly do you mean it sometimes would not happen sometimes would happen? Are you able to share the install command that this is failing on and/or more of the logging context this error happened on? Are you just running |
What version of npm are you using? |
We are having the same issue in ci when doing |
Same here, fails on Vercel. The |
I will approve a pr opened that removes it. preinstall scripts aren’t supposed to ever run for npm packages so it’s odd that it’s causing issues |
@roninjin10 thanks for merging #9805 ! we just recently added the dependency to the @thirdweb-dev/sdk package which is causing issues with yarn/npm for our users (this is what prompted @alecananian PR) Any chance we can get #9812 merged today to get the latest release? |
Hey @roninjin10 , do you have an ETA for releasing this merge? Our pipelines fail most of the time because of this issue |
Opening the issue, not because I am convinced that the source of the problem is here, but just to let you guys know that there is such issue, and possible fix.
Describe the bug
optimism-sdk
as dependencyyarn install
command (seemingly randomly) fails withor
To Reproduce
yarn install
script was failing randomly, we haven't figured out what is it dependent onExpected behavior
System Specs:
"@eth-optimism/sdk": "^3.1.6"
Additional context
Possibly related
pnpm/only-allow#11
npm/cli#2660
Lightprotocol/light-protocol#381
juliencrn/usehooks-ts#420
Possible fix
only-allow
package asdevDependency
which seemed to fix the issue.The text was updated successfully, but these errors were encountered: