empirical
empirical copied to clipboard
Environment variables are not getting picked
Steps to reproduce
- create .env in the root of the project
- try running
npx ../../packages/cli run --env-file '/Users/<user>/Desktop/Github/empirical/.env
from examples
Error
❯ npx ../../packages/cli run --env-file '/Users/<user>/Desktop/Github/empirical/.env'
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /Users/<user>/Desktop/packages/cli/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/Users/<user>/Desktop/packages/cli/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in: /Users/<user>/.npm/_logs/2024-04-12T07_15_43_697Z-debug-0.log