-
Notifications
You must be signed in to change notification settings - Fork 917
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
Error running deploy command in 11.10.0 - "Error: Cannot find module 'is-npm'" #5010
Comments
I can confirm. We also faced this issue even with no code changes in our projects. Currently we cannot deploy them. |
Also confirmed - We were on version 10.7.0 and it's happening. |
This is happening to us, too, using |
This is happening to us also. |
That is... very odd. I see it in Can one of y'all who can replicate it locally tell me what version of node and npm you are using? |
this is also happening to us as well |
Ah, I'm getting more of the sense that it's GH action specific. Let me see if I can figure out what's going on there. |
Same here |
1 similar comment
Same here |
It's happening to us also. |
I suggest stopping with all the "me too"'s. It's likely affecting a huge number of projects. Put a thumbs-up emoji on the top post. If you're using Firebase hosting and not getting this, a comment might make sense. It sounds like this currently affects everyone using this. |
We are using Firebase hosting for different repo's github actions and some are working and some are failing. |
Yes we also get an error going 1 version back as well,
|
Confirmed @amithvns's at-a-glance! Changed my github actions to use node 16 and it's working. |
Our (@amithvns also ) app has some older dependencies that currently don't work with node Here are our build steps steps:
- uses: actions/checkout@v2
- name: Setup node 14
uses: actions/setup-node@v1
with:
node-version: 14.x
- run: node -v && npm ci && npm run build
- name: Setup node 16
uses: actions/setup-node@v1
with:
node-version: 16.x |
I guess my real question is why did this really break? Because if you are specifying a version like |
We also use |
What we did for now is switch to rolling back the version:
then remove this action and do it manually:
One Suggestion:
|
For folks watching: we're going to release this tomorrow morning |
Environment info
firebase-tools:
Platform:
macOS (m1)
Test case
Using version 11.10 to do a
hosting:channel:deploy
does succeed in deploying, however it fails to exit successfully as a error is thrownCannot find module 'is-npm'
Steps to reproduce
run
npx firebase-tools hosting:channel:deploy pr414-blah --only special-deploy --expires 14d --project test-project --debug
Expected behavior
The deploy succeeds and exits successfully with no errors.
Actual behavior
Note that even
--version
triggers the error (see at the top of this issue)The text was updated successfully, but these errors were encountered: