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
Fail to install netlify cli action #54
Comments
got the same error it's caused by this Marak/colors.js@074a0f8 |
npm seems to have removed the problematic version of colors.js, so I think it's working now! |
👋 I think it does not completely solve the issue. The build is ok BUT the deploy now fails silently with Do you confirm the same issue? update ok sorry, this fix is not yet on master. |
Although it seems that moving to npm will introduce another issue of access right during the build: do you reproduce on your CI too? |
For instance I tried that branch which implements the fix https://github.com/mannum/netlify-actions/blob/master/cli/Dockerfile#L12 I am running on |
OK. I'll try mannum/netlify-actions too. |
It would be nice if the Netlify team could maintain this and put that into their OKRs, especially for paid customer. |
I found it, that requires to upgrade the node version of the image to the most recent if we want to use npm: Their version is still node 12 on master. |
@AdrienFromToulouse Just to be sure, the current fix would be to use |
I don't know why with Yarn it keeps failing but using npm you need a recent version of node/npm. Works on my end with FROM node:16-alpine
LABEL version="1.0.1"
LABEL repository="http://github.com/netlify/actions"
LABEL homepage="http://github.com/netlify/actions/netlify"
LABEL maintainer="Netlify"
LABEL "com.github.actions.name"="Netlify"
LABEL "com.github.actions.description"="Wraps the Netlify CLI to enable common Netlify commands"
LABEL "com.github.actions.icon"="cloud"
LABEL "com.github.actions.color"="blue"
RUN npm install -g netlify-cli
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"] @Wyfy0107 you may just fork netlify action and modify the dockerfile and point to your own fork. |
May be some cache on yarn? idk |
I don't know either ¯_(ツ)_/¯ @AdrienFromToulouse |
I tried again yesterday and it works now 😅 |
We're using this action in ubuntu-latest environment, with node 12.x
The installation failed with some weird logs below
The text was updated successfully, but these errors were encountered: