EEXIST: file already exists
See original GitHub issueBehaviour
When I am deploying a directory I am getting this error:
EEXIST: file already exists, mkdir '/tmp/github-pages-3fqEIE/lib/absinthe/priv'
I am using mix (elixir’s build tool) to build a release. After running, mix will create a _build/prod
directory with all the files needed to run the app.
Expected behaviour
Deploys as usual
Actual behaviour
Error: EEXIST: file already exists, mkdir '/tmp/github-pages-3fqEIE/lib/absinthe/priv'
Configuration
- Repository URL (if public): https://github.com/smoak/teamcowboy-graphql
- Build URL (if public): https://github.com/smoak/teamcowboy-graphql/runs/1386551167
name: Deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Elixir
uses: actions/setup-elixir@v1.0.0
with:
otp-version: 22.x
elixir-version: 1.9.x
- name: Install Deps
run: mix deps.get
- name: Lint
run: |
mix format --check-formatted
mix credo --ignore readability --strict
- name: Test
run: mix test --cover
env:
MIX_ENV: test
- name: Build Relase
if: success()
run: mix release
env:
TC_PUBLIC_API_KEY: ${{ secrets.TC_PUBLIC_API_KEY }}
TC_PRIVATE_API_KEY: ${{ secrets.TC_PRIVATE_API_KEY }}
MIX_ENV: prod
- name: Deploy
if: success()
uses: crazy-max/ghaction-github-pages@v2
with:
target_branch: production
build_dir: _build/prod
keep_history: true
allow_empty_commit: false
commit_message: "Production deploy"
jekyll: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Logs
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
npm error on every command: EEXIST: file already exists ...
I'm just new to node and npm and this is frustrating. Well it's almost all said in the title. On a Windows 10...
Read more >Error: EEXIST: file already exists when output directory ...
I have verified this doesn't have anything to do with Jest or the particular structure of the reports folder - changing the junit...
Read more >TypeScript: file already exists, symlink & tsc command not ...
Let's see how it works by installing TypeScript again. But things are not that simple. npm ERR! code EEXIST npm ERR! path /Users/username/.npm ......
Read more >Yarn install fails with 'EEXIST: file already exists, symlink ...'
error An unexpected error occurred: "EEXIST: file already exists, symlink '../../../../core/nuxt-theme-module' ...
Read more >Unable to setup stencil-cli - BigCommerce Support
npm ERR! code EEXIST ... EEXIST: file already exists, ... File exists: C:\Users\junaidahmed\AppData\Roaming\npm\stencil.ps1. npm ERR!
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@smoak
Oh sorry it’s
crazy-max/ghaction-github-pages@dev
@crazy-max Thanks! I’ll look into what’s going on.