Catch error if dev.env not exists
@@ -66,7 +66,11 @@ export async function load() {
if (zksyncEnv == 'dev') {
/// If there no folder with toml files we should delete the old dev.env and regenerate toml files and
if (!fs.existsSync('etc/env/dev')) {
+ try {
fs.rmSync('etc/env/dev.env');
+ } catch {
+
+ }
}
if (!fs.existsSync('etc/env/dev.env')) {
