Skip to content
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: EEXIST: file already exists, mkdir './bundles' in some recent builds #397

Closed
ia3andy opened this issue Jun 25, 2018 · 4 comments
Closed

Comments

@ia3andy
Copy link

ia3andy commented Jun 25, 2018

We have this error in our recent CI builds.

error /home/runner/launcher-frontend/node_modules/patternfly-ng: Command failed.
Exit code: 1
Command: node src/scripts/package/install.js
Arguments: 
Directory: /home/runner/launcher-frontend/node_modules/patternfly-ng
Output:
fs.js:110
    throw err;
    ^

Error: EEXIST: file already exists, mkdir './bundles'
    at Object.fs.mkdirSync (fs.js:840:3)
    at /home/runner/launcher-frontend/node_modules/patternfly-ng/src/scripts/package/install.js:85:6
    at FSReqWrap.oncomplete (fs.js:136:20)

We are using patternfly-ng 3.11.1.

@dlabrecq
Copy link
Member

What version of node/npm are you running via the CI?

I'm not seeing an issue when I install/re-install locally and our Travis CI install test also seems to be succeeding without error. Regardless, I added code to test if the directory exists before creating it. We'll have a new version available in a few minutes -- hopefully that will work for you.

@ia3andy
Copy link
Author

ia3andy commented Jun 25, 2018

We are using node v10.3.0 with yarn 1.7.0.

Thanks for the new version, I'll try it asap.

@dlabrecq
Copy link
Member

I also tested with yarn, but didn't encounter any issues locally. We're building with node 8.3.0 in the Travis CI.

Version 3.11.2 is available now.

@ia3andy
Copy link
Author

ia3andy commented Jun 28, 2018

@dlabrecq the patch fixed our bug, thanks ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants