You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.
It's working fine on my local server but on the live server I am getting this error after trying downloading the pass file [Error: unable to write 'random state'], then I can't open the downloaded file.
The text was updated successfully, but these errors were encountered:
We also experienced this error when trying to use this library in Lambda function on AWS. The reason is that openssl tries to create a file .rnd containing that random state to your HOME directory, which you don't have write access to in the Lambda environment.
Our solution was to monkey patch lib/pass.js at build time to rewrite Line 362:
@timoweiss We had the same issue while trying to run the node server as daemon using upstart or forever-service. This should be put somewhere in the Readme, because many people may end up having this issue trying to use it on production.
It's working fine on my local server but on the live server I am getting this error after trying downloading the pass file
[Error: unable to write 'random state']
, then I can't open the downloaded file.The text was updated successfully, but these errors were encountered: