You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 28, 2021. It is now read-only.
Interesting. This is an issue with the env-cmd plugin that loads environment files.
As suggested there I am adding the --silent flag to run without an .env. Creating a default empty file would impose too much risk of an accidental commit.
if the file didnt exist, the start of the program exits
`
yarn run v1.22.10
$ yarn build && env-cmd node build/index.js
$ tsc
Error: Failed to find .env file at default paths: [./.env,./.env.js,./.env.json]
at getEnvFile (C:\Users\msowa\Documents\Visual Code\impftermin\node_modules\env-cmd\dist\get-env-vars.js:58:11)
at async Object.EnvCmd (C:\Users\msowa\Documents\Visual Code\impftermin\node_modules\env-cmd\dist\env-cmd.js:39:15)
at async Object.CLI (C:\Users\msowa\Documents\Visual Code\impftermin\node_modules\env-cmd\dist\env-cmd.js:19:16)
error Command failed with exit code 1.
`
Operationg System Windows 10
IDE Visual Studio code
The text was updated successfully, but these errors were encountered: