Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

CLI is not taking default env like node latest versions have (20.8.0)

Open
#1,389 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript, node.js
Domain
cli

Research direction

Reproduce the issue by running sequelize-cli with Node 20.8.0 and a .env file, then compare it with node --envfile=.env index.js. Trace how the CLI starts and loads environment variables; done means the CLI handles the .env file consistently with the reported Node behavior.

Written by the indexing model from the issue text.

Description

Trying to use node 20.8.0 with sequelize-cli

I am using node latest version 20.8.0
This version have default autoloading of env file without any package.
but while using sequelize-cli it is not loading .env file but
with node --envfile=.env index.js it loads .env without any package like (dotenv)

Sequelize CLI version: latest
Sequelize version: latest

Dominant language
JavaScript
Stars
2.6k
Forks
524
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sequelize/cli

All issues in sequelize/cli

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.