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
It simply fails to start if there is no .env file with the following error:
Error: [ERROR] Unable to load the environment file. ENOENT: no such file or directory, open '/home/node/.config/ark-core/devnet/.env'
at Fatal.render (/home/node/.config/yarn/global/node_modules/@arkecosystem/core-cli/dist/components/fatal.js:22:15)
at ComponentFactory.fatal (/home/node/.config/yarn/global/node_modules/@arkecosystem/core-cli/dist/component-factory.js:118:54)
at Command.run (/home/node/.config/yarn/global/node_modules/@arkecosystem/core-cli/dist/commands/command.js:124:29)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
✖ unhandledRejection (a promise was rejected but not handled) Error: [ERROR] Unable to load the environment file. ENOENT: no such file or directory, open '/home/node/.config/ark-core/devnet/.env'
at Fatal.render (/home/node/.config/yarn/global/node_modules/@arkecosystem/core-cli/dist/components/fatal.js:22:15)
at ComponentFactory.fatal (/home/node/.config/yarn/global/node_modules/@arkecosystem/core-cli/dist/component-factory.js:118:54)
at Command.run (/home/node/.config/yarn/global/node_modules/@arkecosystem/core-cli/dist/commands/command.js:124:29)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
The text was updated successfully, but these errors were encountered:
It seems v3 doesn't honor exported env vars and fails to start without an
.env
file.Expected Behavior
It should use exported env vars (
process.env
):Current Behavior
It simply fails to start if there is no
.env
file with the following error:The text was updated successfully, but these errors were encountered: