-
Notifications
You must be signed in to change notification settings - Fork 158
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
Dependencies cannot be installed in version 3.6.0 #264
Comments
+1 |
Hey @tomaco-gojiraf and @edgeboy47 👋! I can't reproduce dependency installation issues using the new action version From the logs you linked it looks to me like it may be a package installation issue, I would double check that Would it be possible for one you to provide me with a reproduction repository that has this issue? Thank you! 🙏 |
+1 that i'm seeing this issue too with multiple packages:
it was working fine a couple days ago, so pretty sure it's not a package issue / npm install issue. Also can confirm that downgrading to v3.5.0 works:
|
A reproduction repository would be very helpful 🙏 Also, some context on what
Some questions
|
I've the same issue. Pinning to v3.5.0 helps for now. |
Oh, I see what happened. Thanks for the screenshots @sakettawde . The code which checks for an existing installation runs This means that by accident For everyone who's build is now failing, I suspect your codebase has something about it which requires that older version of wrangler, since jobs:
deploy:
steps:
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
wranglerVersion: "3.13.2" I'll work on making a PR to fix this issue. |
Hello 👋 We ended up reverting #235 in We will look into fixing this in a follow up because it would be fantastic if we could check for an existing wrangler installation, and install it correctly. Let us know if you're still experiencing these issues after upgrading to Thanks! |
I was deploying normally and suddenly my pipeline started to fail, and it just happened to coincide with the release of the new action version (3.6.0).
It fails when trying to install the package.json dependencies throwing an error that it cannot resolve the dependency. The error is thrown on the import line of the code and advises you to mark it as external to fix it, but this sounded strange to me because it was already working this way.
The same error happens with zod dependency:
Using the action version 3.5.0 fixed the problem quickly.
I also tried using bun as a package manager thinking it might be a npm problem, but it didn't fix anything.
GitHub Action:
The text was updated successfully, but these errors were encountered: