您好,我刚刚下载了https://loopback.io/doc/en/lb4/Authentication-Tutorial.html#try-it-out所述的lb4购物示例。
我已经运行npm install。但是当我运行npm run docker:start
时,出现以下错误
> [email protected] docker:start D:\ionic-pr\loopback-projects\tryjwt\loopback4-example-shopping
> ./bin/start-dbs.sh
'.' is not recognized as an internal or external command,
提前谢谢您
根据您提供的代码片段,您似乎正在使用Windows操作系统,并且回送docker内部的.sh是Shell脚本,在Windows上不可执行。为此,您可以像支持者一样安装cygwin,gitbash并尝试一下。
或者,如果使用win10,则可以参考以下内容:
https://blogs.windows.com/windowsdeveloper/2016/03/30/run-bash-on-ubuntu-on-windows/