mirror of
https://github.com/reconurge/flowsint.git
synced 2026-05-07 04:09:49 -05:00
[GH-ISSUE #66] make prod and make dev to fail because it tries to copy .env.example files that are not present.
#60
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @abdulhafeez1724 on GitHub (Nov 18, 2025).
Original GitHub issue: https://github.com/reconurge/flowsint/issues/66
The current version of Flowsint uses a single unified .env file at the project root.
However, the Makefile still references old paths (flowsint-api/.env, flowsint-core/.env, flowsint-app/.env)
that no longer exist in the updated project structure.
This causes
make prodandmake devto fail because it tries to copy .env.example files that are not present.@dextmorgn commented on GitHub (Nov 18, 2025):
Hey @abdulhafeez1724,
Could you show some errors messages ?
Cause it seems what you're describing is the expected behavior, as the
.envat the root is copied to other directories on make commands@abdulhafeez1724 commented on GitHub (Nov 18, 2025):
@dextmorgn
repo is using the new unified configuration model: one .env file at the root, not separate .env files in each module.
The Makefile is still referencing old paths (flowsint-api/.env, etc.), which no longer exist in your version — that's why you saw:
cp: cannot stat '/home/.../.env.example': No such file or directory
@dextmorgn commented on GitHub (Nov 18, 2025):
Not sure what you're refering to, where did you see this error ?
flowsint-api/.env,flowsint-app/.env, etc are valid paths and there need to be a .env file in each of these directories. They indeed don't exist by default@abdulhafeez1724 commented on GitHub (Nov 18, 2025):
yes by defaul they not exist and for that we must change the
makefile to this (makefile was looking the .env in each module so i changed)
thanks