I'm receiving the following error, when I try to run my tests using ava with my project that uses dotenv-safe
{ [Error: ENOENT: no such file or directory, open '.env'] errno: -2, code: 'ENOENT', syscall: 'open', path: '.env' }
fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT: no such file or directory, open '.env.example'
it looks like ava is not finding .env or .env.example files
is there any workaround or a solution for this?
Aucun commentaire:
Enregistrer un commentaire