每當我嘗試使用 bin/console make:entity 創建實體時,我都會得到以下結果:php bin/console make:entity Class name of the entity to create or update (e.g. FierceElephant): > VideoIn DebugClassLoader.php line 337: Warning: include(/home/user/work/project1/vendor/composer/../../src/Entity/Video.php): failed to open stream: No such file or directory 這個項目很新,目前代碼很少;這是我嘗試在項目中創建的第一個實體。我不明白為什么我會得到這個,因為很明顯該文件不存在,因為我想創建它......我沒有在谷歌上發現類似的問題。也許我忘了激活 php 擴展?
添加回答
舉報
0/150
提交
取消