所以我正在尝试使用 mikro-orm 和 postgresql 在visualstudio代码中创建db,但出现错误:
createdb lireddit
The name "createdb" is not recognized as the name of a cmdlet, function, script file, or executable program. Check the spelling
name, as well as the presence and correctness of the path, and then try again.
+ createdb <<<< lireddit
+ CategoryInfo : ObjectNotFound: (createdb:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
在此之前,我用 yarn 安装了 mikro-orm 和 postgresql,但它似乎不起作用。