无法加载资源,服务器以404(未找到)状态5响应

时间:2018-06-29 18:35:46

标签: angular angular5

我运行ng build --prod并将dist文件夹的内容移动到服务器子文件夹上,但是它不起作用,给出错误“无法加载资源,服务器响应状态为404(未找到)”

这是错误消息

polyfills.005087a1f7d36bd88778.bundle.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
inline.5a4ca7a5f1b2161e0aaf.bundle.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
/styles.fe4393e6b8411da63d84.bundle.css:1 Failed to load resource: the server responded with a status of 404 (Not Found)
main.ff539f706c6b2bfd3e09.bundle.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
scripts.069cce74f9c8f7df78ea.bundle.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
polyfills.005087a1f7d36bd88778.bundle.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
scripts.069cce74f9c8f7df78ea.bundle.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
main.ff539f706c6b2bfd3e09.bundle.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
styles.fe4393e6b8411da63d84.bundle.css:1 Failed to load resource: the server responded with a status of 404 (Not Found)

请帮助

0 个答案:

没有答案