php - 从教义2开始创建模式问题
问题描述
我正在参考学说文档编写教程。过程中出现了问题。
php 供应商/bin/doctrine orm:schema-tool:create
结果:
dir=$(cd "${0%[/\\]*}" > /dev/null; cd "../doctrine/orm/bin" && pwd)
if [ -d /proc/cygdrive ] && [[ $(which php) == $(readlink -n /proc/cygdrive)/* ]]; then
# We are in Cgywin using Windows php, so the path must be translated
dir=$(cygpath -m "$dir");
fi
"${dir}/doctrine" "$@" doctrine
我需要帮助!谢谢大家
解决方案
尝试从头部删除“php”。
./vendor/bin/doctrine orm:schema-tool:create
推荐阅读
- gradle - Gradle 多项目构建 - 将全球资源放在哪里?
- excel - 函数返回 0
- asp.net-web-api - 跨域请求被阻止:同源策略不允许读取 (URL) 处的远程资源
- azure - 2014 年至 2016 年的必应新闻搜索
- java - 如何使用 apache poi 在 Word 中创建 WedgeRectCallout 形状?
- datetime - 我如何 ffmpeg 遍历 10,000 多个带有日期时间戳的文件
- reactjs - 如何在 ReactJS 中从同一个 Parent 中的第一个孩子访问第二个孩子的 ref
- uwp - 从 NavViewEx 隐藏后退按钮(Template10.Extras.16299)UWP
- c++ - 使按值传递的参数成为常量有什么意义?
- apache-spark - 如何在 spark-jdbc 应用程序中给出表名以读取 RDBMS 数据库上的数据?