Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environment variables are not getting picked #121

Open
vbansal2 opened this issue Apr 12, 2024 · 0 comments
Open

Environment variables are not getting picked #121

vbansal2 opened this issue Apr 12, 2024 · 0 comments
Labels
bug Something isn't working development

Comments

@vbansal2
Copy link
Contributor

vbansal2 commented Apr 12, 2024

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
@arjunattam arjunattam changed the title Environment variables are not getting picked [development] Environment variables are not getting picked Apr 15, 2024
@arjunattam arjunattam changed the title [development] Environment variables are not getting picked Environment variables are not getting picked Apr 15, 2024
@saikatmitra91 saikatmitra91 added the bug Something isn't working label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working development
Projects
None yet
Development

No branches or pull requests

3 participants