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
I get an ERR_INVALID_CALLBACK error after running npm run generate-keys inside the api container:
/src/api# npm run generate-keys
> [email protected] generate-keys /src/api
> node src/bin/generate-keys.js
info: Generating keys. This will take a few seconds...
fs.js:129
throw new ERR_INVALID_CALLBACK();
^
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
at maybeCallback (fs.js:129:9)
at Object.write (fs.js:536:14)
at fs.open (/src/api/src/bin/generate-keys.js:44:8)
at FSReqWrap.oncomplete (fs.js:141:20)
Seems like it wants a callback passed in as the 3rd argument to fs.write in that script. Something like:
I get an ERR_INVALID_CALLBACK error after running
npm run generate-keys
inside the api container:Seems like it wants a callback passed in as the 3rd argument to
fs.write
in that script. Something like:The text was updated successfully, but these errors were encountered: