$ npx foreman start -e .env -p 5006
[WARN] ENOENT: no such file or directory, open 'Procfile'
[FAIL] No Procfile and no package.json file found in Current Directory - See nf --help
(node:34002) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
$ node --trace-deprecation -e "require('foreman/lib/envs').loadEnvs('.env')"
(node:39559) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
at Array.reduce (<anonymous>)
at Object.loadEnvs (/private/tmp/3c7106f24e97020601c8db8a0e940341/node_modules/foreman/lib/envs.js:147:48)
at [eval]:1:29
at runScriptInThisContext (node:internal/vm:219:10)
at node:internal/process/execution:483:12
at [eval]-wrapper:6:24
at runScriptInContext (node:internal/process/execution:481:60)
at evalFunction (node:internal/process/execution:315:30)
at evalTypeScript (node:internal/process/execution:327:3)
at node:internal/main/eval_string:71:3
$ npx foreman --version
3.0.1
This warning:
Seems to come from
node-foreman/lib/envs.js
Line 147 in 3cc38e3