Closed danielh-official closed 2 years ago
I think I got a solution for this problem by publishing the config/orbit.php file and change that path of the content directory to the storage_path rather than the base_path, but now I'm getting this.
InvalidArgumentException
Driver [md] not supported.
at vendor/illuminate/support/Manager.php:109
105▕ return $this->$method();
106▕ }
107▕ }
108▕
➜ 109▕ throw new InvalidArgumentException("Driver [$driver] not supported.");
110▕ }
111▕
112▕ /**
113▕ * Call a custom driver creator.
+3 vendor frames
4 [internal]:0
App\Models\Todo::bootOrbital()
+5 vendor frames
10 app/Commands/Todo/Make.php:36
Illuminate\Database\Eloquent\Model::__callStatic("create")
Hey @danielh-official, sorry you're having trouble. I've not seen this error before, which version of Orbit are you using? I assume 1.x.
Also, where are you running your application? The content directory should be created by Orbit if it's not present and should be created with 755 permissions.
Closing due to inactivity.
I am deploying my Laravel app to Vercel which is a serverless system, and I received the same error.
Getting this console error whenever I try to call "Model::create()".