Vite returns 504 Outdated Optimize Dep for nonexisting resource

504 Outdated Optimize Dep Vite 报 Bug 解决vite 报 Bug Out 掘金

This one is about the wrong error message. Duplicate of dynamic imports with variables in a dependency are not processed at all #6179.

It gave me 504 outdated dep, so i purged cache and node_modules again and again to no avail. If it just gives me 404 i would know where to dig. A quick search on trusty stackoverflow indicated that.

【TypeScript5.0】パッケージのimportでts(7016)

When vite fails to resolve the path, it returns an erroneous error message (504.

I had a look in.

Server responded with status 504 (outdated optimize dep) occurs when the server takes too long to respond to a request. One way to get them to show up is to start one remix vite app, stop it, and start another one. Learn how to update and optimize your angular application with the latest version of the 504 outdated optimize dep angular tool. The error failed to load resource:

I have also seen this very similar question:

Vite returns 504 Outdated Optimize Dep for nonexisting resource
Vite returns 504 Outdated Optimize Dep for nonexisting resource

Details

Vite bug 504 (Outdated Optimize Dep) 解决 · Issue 46 · anyesu/blog · GitHub
Vite bug 504 (Outdated Optimize Dep) 解决 · Issue 46 · anyesu/blog · GitHub

Details

Vite bug 504 (Outdated Optimize Dep) 解决 · Issue 46 · anyesu/blog · GitHub
Vite bug 504 (Outdated Optimize Dep) 解决 · Issue 46 · anyesu/blog · GitHub

Details

Vite 报 bug 504 (Outdated Optimize Dep) 解决Vite 报 bug 504 (Out 掘金
Vite 报 bug 504 (Outdated Optimize Dep) 解决Vite 报 bug 504 (Out 掘金

Details

【TypeScript5.0】パッケージのimportでts(7016)
【TypeScript5.0】パッケージのimportでts(7016)

Details