在Angular 2应用程序中,当我在MacOS Safari 10.0.3上运行它时,我收到了以下错误:
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (main.bundle.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (polyfills.bundle.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (styles.bundle.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (vendor.bundle.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (inline.bundle.js.map, line 0)
我的项目中存在所有列出的文件,我也没有在Chrome,IE11和Firefox上收到这些错误。我不知道为什么在Safari上出现这些错误,它们会导致应用程序行为不端。