警告:require(/home/www/example.info/public /../ vendor / autoload.php):打开流失败:第24行

时间:2019-09-09 16:47:31

标签: laravel-5

我将Laravel项目上传到

时出现以下错误
myapp-vue: <s> [webpack.Progress] 93% asset optimization
myapp-vue: <s> [webpack.Progress] 94% after asset optimization
myapp-vue: <s> [webpack.Progress] 94% after seal
myapp-vue: <s> [webpack.Progress] 95% emitting
myapp-vue: <s> [webpack.Progress] 95% emitting HtmlWebpackPlugin
myapp-vue: <s> [webpack.Progress] 95% emitting vue-cli:pwa-html-plugin
myapp-vue: <s> [webpack.Progress] 95% emitting CopyPlugin
myapp-vue: <s> [webpack.Progress] 95% emitting fork-ts-checker-webpack-plugin

我尝试在ssh内安装作曲家,并且确实有带有autoload.php的供应商文件夹。该项目在XAMP环境中完美运行,但是将其上传到服务器时出现此错误。

Warning: require(/home/www/lbc-test.example.info/public/../vendor/autoload.php): failed to open stream: No such file or directory in /home/www/lbc-test.example.info/public/index.php on line 24

Fatal error: require(): Failed opening required '/home/www/lbc-test.example.info/public/../vendor/autoload.php' (include_path='.:/usr/local/php7.2/lib/php') in /home/www/lbc-test.example.info/public/index.php on line 24

0 个答案:

没有答案