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 }}
Repository navigation
bug(dashmate): local nodes fails to start after dashmate reset #785
/platform/.yarn/cache/dotenv-safe-npm-8.2.0-f1bcdebce9-8b73770330.zip/node_modules/dotenv-safe/index.js:31
throw new MissingEnvVarsError(allowEmptyValues, options.path || '.env', example, missing, dotenvResult.error);
^
MissingEnvVarsError: The following variables were defined in .env.example but are not present in the environment:
DPNS_MASTER_PUBLIC_KEY, DPNS_SECOND_PUBLIC_KEY, DASHPAY_MASTER_PUBLIC_KEY, DASHPAY_SECOND_PUBLIC_KEY, FEATURE_FLAGS_MASTER_PUBLIC_KEY, FEATURE_FLAGS_SECOND_PUBLIC_KEY, MASTERNODE_REWARD_SHARES_MASTER_PUBLIC_KEY, MASTERNODE_REWARD_SHARES_SECOND_PUBLIC_KEY
Make sure to add them to .env or directly to the environment.
If you expect any of these variables to be empty, you can use the allowEmptyValues option:
require('dotenv-safe').config({
allowEmptyValues: true
});
at Object.config (/platform/.yarn/cache/dotenv-safe-npm-8.2.0-f1bcdebce9-8b73770330.zip/node_modules/dotenv-safe/index.js:31:19)
at Object.<anonymous> (/platform/packages/js-drive/scripts/abci.js:1:49)
at Module._compile (node:internal/modules/cjs/loader:1155:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
at Object.require$$0.Module._extensions..js (/platform/.pnp.cjs:11822:33)
at Module.load (node:internal/modules/cjs/loader:1033:32)
at Function.require$$0.Module._load (/platform/.pnp.cjs:11645:22)
at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29)
at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
at async Promise.all (index 0) {
missing: [
'DPNS_MASTER_PUBLIC_KEY',
'DPNS_SECOND_PUBLIC_KEY',
'DASHPAY_MASTER_PUBLIC_KEY',
'DASHPAY_SECOND_PUBLIC_KEY',
'FEATURE_FLAGS_MASTER_PUBLIC_KEY',
'FEATURE_FLAGS_SECOND_PUBLIC_KEY',
'MASTERNODE_REWARD_SHARES_MASTER_PUBLIC_KEY',
'MASTERNODE_REWARD_SHARES_SECOND_PUBLIC_KEY'
],
sample: '.env.example',
example: '.env.example'
}
Activity
pshenmic commentedon Feb 17, 2023
Might be somehow connected #99
pshenmic commentedon Feb 19, 2023
The error pops in the every drive_abci container:
pshenmic commentedon May 1, 2023
Fixed in #991