使用XSLX Populate时,Angular会抛出错误,我很难受。
core.js:1449 ERROR Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'drivers'
Error: Cannot match any routes. URL Segment: 'drivers'
我的代码包含在用于模板.XSLX文件的阅读器中,然后使用Firecloud数据库中的数据进行填充。
main.c8862013051d6e746aa1.js:1 ERROR Error: Uncaught (in promise): Error: Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html
Error: Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html
at u.readEndOfCentral (main.c8862013051d6e746aa1.js:1)
at u.load (main.c8862013051d6e746aa1.js:1)
at main.c8862013051d6e746aa1.js:1
at e.invoke (polyfills.f6ae3e8b63939c618130.js:1)
at Object.onInvoke (main.c8862013051d6e746aa1.js:1)
at e.invoke (polyfills.f6ae3e8b63939c618130.js:1)
at t.run (polyfills.f6ae3e8b63939c618130.js:1)
at polyfills.f6ae3e8b63939c618130.js:1
at e.invokeTask (polyfills.f6ae3e8b63939c618130.js:1)
at Object.onInvokeTask (main.c8862013051d6e746aa1.js:1)
at j (polyfills.f6ae3e8b63939c618130.js:1)
at j (polyfills.f6ae3e8b63939c618130.js:1)
at polyfills.f6ae3e8b63939c618130.js:1
at e.invokeTask (polyfills.f6ae3e8b63939c618130.js:1)
at Object.onInvokeTask (main.c8862013051d6e746aa1.js:1)
at e.invokeTask (polyfills.f6ae3e8b63939c618130.js:1)
at t.runTask (polyfills.f6ae3e8b63939c618130.js:1)
at d (polyfills.f6ae3e8b63939c618130.js:1)
at t.invokeTask [as invoke] (polyfills.f6ae3e8b63939c618130.js:1)
at _ (polyfills.f6ae3e8b63939c618130.js:1)
我已经尝试过将文件存储在其他位置,但是多次尝试后都没有成功。