在 Laravel 6 中,报错:Illuminate / View / ViewException (E_ERROR) The Mix manifest does not exist.

1、在 Laravel 6 中,报错:Illuminate / View / ViewException (E_ERROR) The Mix manifest does not exist.。如图1

在 Laravel 6 中,报错:Illuminate / View / ViewException (E_ERROR) The Mix manifest does not exist.

图1

[2022-02-16 17:15:55] local.ERROR: The Mix manifest does not exist. (View: E:/wwwroot/wshop/platform/resources/views/vogue/pages/index.blade.php) {"exception":"[object] (Illuminate//View//ViewException(code: 0): The Mix manifest does not exist. (View: E://wwwroot//wshop//platform/
esources//views//vogue//pages//index.blade.php) at E://wwwroot//wshop//platform//vendor//arubacao//asset-cdn//src//helpers.php:36)
[stacktrace]
#0 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//View//Engines//PhpEngine.php(45): Illuminate//View//Engines//CompilerEngine->handleViewException(Object(Exception), 1)
#1 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//View//Engines//CompilerEngine.php(59): Illuminate//View//Engines//PhpEngine->evaluatePath('E:////wwwroot////wsho...', Array)
#2 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//View//View.php(143): Illuminate//View//Engines//CompilerEngine->get('E:////wwwroot////wsho...', Array)
#3 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//View//View.php(126): Illuminate//View//View->getContents()
#4 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//View//View.php(91): Illuminate//View//View->renderContents()
#5 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Http//Response.php(42): Illuminate//View//View->render()
#6 E://wwwroot//wshop//platform//vendor//symfony//http-foundation//Response.php(205): Illuminate//Http//Response->setContent(Object(Illuminate//View//View))
#7 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Routing//Router.php(749): Symfony//Component//HttpFoundation//Response->__construct(Object(Illuminate//View//View), 200, Array)
#8 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Routing//Router.php(721): Illuminate//Routing//Router::toResponse(Object(Illuminate//Http//Request), Object(Illuminate//View//View))
#9 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Routing//Router.php(681): Illuminate//Routing//Router->prepareResponse(Object(Illuminate//Http//Request), Object(Illuminate//View//View))
#10 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(130): Illuminate//Routing//Router->Illuminate//Routing//{closure}(Object(Illuminate//Http//Request))
#11 E://wwwroot//wshop//platform//vendor//silber//page-cache//src//Middleware//CacheResponse.php(38): Illuminate//Pipeline//Pipeline->Illuminate//Pipeline//{closure}(Object(Illuminate//Http//Request))
#12 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(171): Silber//PageCache//Middleware//CacheResponse->handle(Object(Illuminate//Http//Request), Object(Closure))
#13 E://wwwroot//wshop//platform//app//Http//Middleware//CheckStoreStatus.php(37): Illuminate//Pipeline//Pipeline->Illuminate//Pipeline//{closure}(Object(Illuminate//Http//Request))
#14 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(171): App//Http//Middleware//CheckStoreStatus->handle(Object(Illuminate//Http//Request), Object(Closure))
#15 E://wwwroot//wshop//platform//app//Http//Middleware//Statistics.php(27): Illuminate//Pipeline//Pipeline->Illuminate//Pipeline//{closure}(Object(Illuminate//Http//Request))
#16 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(171): App//Http//Middleware//Statistics->handle(Object(Illuminate//Http//Request), Object(Closure))
#17 E://wwwroot//wshop//platform//app//Http//Middleware//PasswordProtected.php(66): Illuminate//Pipeline//Pipeline->Illuminate//Pipeline//{closure}(Object(Illuminate//Http//Request))
#18 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(171): App//Http//Middleware//PasswordProtected->handle(Object(Illuminate//Http//Request), Object(Closure))
#19 E://wwwroot//wshop//platform//app//Http//Middleware//CurrentTheme.php(20): Illuminate//Pipeline//Pipeline->Illuminate//Pipeline//{closure}(Object(Illuminate//Http//Request))
#20 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(171): App//Http//Middleware//CurrentTheme->handle(Object(Illuminate//Http//Request), Object(Closure))
#21 E://wwwroot//wshop//platform//app//Http//Middleware//ConfigTheme.php(101): Illuminate//Pipeline//Pipeline->Illuminate//Pipeline//{closure}(Object(Illuminate//Http//Request))
#22 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(171): App//Http//Middleware//ConfigTheme->handle(Object(Illuminate//Http//Request), Object(Closure))
#23 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Routing//Middleware//SubstituteBindings.php(41): Illuminate//Pipeline//Pipeline->Illuminate//Pipeline//{closure}(Object(Illuminate//Http//Request))
#24 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(171): Illuminate//Routing//Middleware//SubstituteBindings->handle(Object(Illuminate//Http//Request), Object(Closure))
#25 E://wwwroot//wshop//platform//app//Http//Middleware//SwitchDomain.php(54): Illuminate//Pipeline//Pipeline->Illuminate//Pipeline//{closure}(Object(Illuminate//Http//Request))
#26 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(171): App//Http//Middleware//SwitchDomain->handle(Object(Illuminate//Http//Request), Object(Closure))
#27 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Foundation//Http//Middleware//VerifyCsrfToken.php(78): Illuminate//Pipeline//Pipeline->Illuminate//Pipeline//{closure}(Object(Illuminate//Http//Request))
#28 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(171): Illuminate//Foundation//Http//Middleware//VerifyCsrfToken->handle(Object(Illuminate//Http//Request), Object(Closure))
#29 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//View//Middleware//ShareErrorsFromSession.php(49): Illuminate//Pipeline//Pipeline->Illuminate//Pipeline//{closure}(Object(Illuminate//Http//Request))
#30 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(171): Illuminate//View//Middleware//ShareErrorsFromSession->handle(Object(Illuminate//Http//Request), Object(Closure))
#31 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Session//Middleware//StartSession.php(56): Illuminate//Pipeline//Pipeline->Illuminate//Pipeline//{closure}(Object(Illuminate//Http//Request))
#32 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(171): Illuminate//Session//Middleware//StartSession->handle(Object(Illuminate//Http//Request), Object(Closure))
#33 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Cookie//Middleware//AddQueuedCookiesToResponse.php(37): Illuminate//Pipeline//Pipeline->Illuminate//Pipeline//{closure}(Object(Illuminate//Http//Request))
#34 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(171): Illuminate//Cookie//Middleware//AddQueuedCookiesToResponse->handle(Object(Illuminate//Http//Request), Object(Closure))
#35 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Cookie//Middleware//EncryptCookies.php(67): Illuminate//Pipeline//Pipeline->Illuminate//Pipeline//{closure}(Object(Illuminate//Http//Request))
#36 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(171): Illuminate//Cookie//Middleware//EncryptCookies->handle(Object(Illuminate//Http//Request), Object(Closure))
#37 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(105): Illuminate//Pipeline//Pipeline->Illuminate//Pipeline//{closure}(Object(Illuminate//Http//Request))
#38 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Routing//Router.php(683): Illuminate//Pipeline//Pipeline->then(Object(Closure))
#39 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Routing//Router.php(658): Illuminate//Routing//Router->runRouteWithinStack(Object(Illuminate//Routing//Route), Object(Illuminate//Http//Request))
#40 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Routing//Router.php(624): Illuminate//Routing//Router->runRoute(Object(Illuminate//Http//Request), Object(Illuminate//Routing//Route))
#41 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Routing//Router.php(613): Illuminate//Routing//Router->dispatchToRoute(Object(Illuminate//Http//Request))
#42 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Foundation//Http//Kernel.php(170): Illuminate//Routing//Router->dispatch(Object(Illuminate//Http//Request))
#43 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(130): Illuminate//Foundation//Http//Kernel->Illuminate//Foundation//Http//{closure}(Object(Illuminate//Http//Request))
#44 E://wwwroot//wshop//platform//vendor//barryvdh//laravel-debugbar//src//Middleware//InjectDebugbar.php(67): Illuminate//Pipeline//Pipeline->Illuminate//Pipeline//{closure}(Object(Illuminate//Http//Request))
#45 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(171): Barryvdh//Debugbar//Middleware//InjectDebugbar->handle(Object(Illuminate//Http//Request), Object(Closure))
#46 E://wwwroot//wshop//platform//app//Http//Middleware//ChangeAppUrlMiddleware.php(23): Illuminate//Pipeline//Pipeline->Illuminate//Pipeline//{closure}(Object(Illuminate//Http//Request))
#47 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(171): App//Http//Middleware//ChangeAppUrlMiddleware->handle(Object(Illuminate//Http//Request), Object(Closure))
#48 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Foundation//Http//Middleware//TransformsRequest.php(21): Illuminate//Pipeline//Pipeline->Illuminate//Pipeline//{closure}(Object(Illuminate//Http//Request))
#49 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(171): Illuminate//Foundation//Http//Middleware//TransformsRequest->handle(Object(Illuminate//Http//Request), Object(Closure))
#50 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Foundation//Http//Middleware//TransformsRequest.php(21): Illuminate//Pipeline//Pipeline->Illuminate//Pipeline//{closure}(Object(Illuminate//Http//Request))
#51 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(171): Illuminate//Foundation//Http//Middleware//TransformsRequest->handle(Object(Illuminate//Http//Request), Object(Closure))
#52 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Foundation//Http//Middleware//ValidatePostSize.php(27): Illuminate//Pipeline//Pipeline->Illuminate//Pipeline//{closure}(Object(Illuminate//Http//Request))
#53 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(171): Illuminate//Foundation//Http//Middleware//ValidatePostSize->handle(Object(Illuminate//Http//Request), Object(Closure))
#54 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Foundation//Http//Middleware//CheckForMaintenanceMode.php(63): Illuminate//Pipeline//Pipeline->Illuminate//Pipeline//{closure}(Object(Illuminate//Http//Request))
#55 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(171): Illuminate//Foundation//Http//Middleware//CheckForMaintenanceMode->handle(Object(Illuminate//Http//Request), Object(Closure))
#56 E://wwwroot//wshop//platform//vendor//fideloper//proxy//src//TrustProxies.php(57): Illuminate//Pipeline//Pipeline->Illuminate//Pipeline//{closure}(Object(Illuminate//Http//Request))
#57 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(171): Fideloper//Proxy//TrustProxies->handle(Object(Illuminate//Http//Request), Object(Closure))
#58 E://wwwroot//wshop//platform//vendor//dingo//api//src//Http//Middleware//Request.php(111): Illuminate//Pipeline//Pipeline->Illuminate//Pipeline//{closure}(Object(Illuminate//Http//Request))
#59 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(171): Dingo//Api//Http//Middleware//Request->handle(Object(Illuminate//Http//Request), Object(Closure))
#60 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Pipeline//Pipeline.php(105): Illuminate//Pipeline//Pipeline->Illuminate//Pipeline//{closure}(Object(Illuminate//Http//Request))
#61 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Foundation//Http//Kernel.php(145): Illuminate//Pipeline//Pipeline->then(Object(Closure))
#62 E://wwwroot//wshop//platform//vendor//laravel//framework//src//Illuminate//Foundation//Http//Kernel.php(110): Illuminate//Foundation//Http//Kernel->sendRequestThroughRouter(Object(Illuminate//Http//Request))
#63 E://wwwroot//wshop//platform//public//index.php(57): Illuminate//Foundation//Http//Kernel->handle(Object(Illuminate//Http//Request))
#64 {main}

2、安装 Laravel Mix,执行命令:yarn install 来安装当前项目的 npm 依赖包

PS E:/wwwroot/wshop/platform> yarn install
yarn install v1.22.15
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@2.3.2: The platform "win32" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...

3、运行 Mix 任务,执行命令:npm run dev

PS E:/wwwroot/wshop/platform> npm run dev
> dev
> npm run development
> development
> mix
● Mix █████████████████████████ emitting (98%)
after emit
Laravel Mix v6.0.39
✔ Compiled Successfully in 541488ms

4、刷新页面,不再报错。如图2

刷新页面,不再报错

图2

原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/250720.html

(0)
上一篇 2022年5月1日
下一篇 2022年5月1日

相关推荐

发表回复

登录后才能评论