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

eexist Error #14

Open
aruna470 opened this issue Jan 14, 2020 · 0 comments
Open

eexist Error #14

aruna470 opened this issue Jan 14, 2020 · 0 comments

Comments

@aruna470
Copy link

I got following error in heavy traffic environment. Reason is System.monotonic_time() time can be same for many requests.

%File.Error{action: "write to file", path: "C:\Users\ARUNAA~1\AppData\Local\Temp/execjs-64712370.js", reason: :eexist}

Issue resolved with following line
filename = "execjs-#{hash}-#{Integer.to_string(:rand.uniform(1000000))}.js"

Better if you can provide similar or any other solution with the library itself.

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

1 participant