0
我在我的Angular4应用程序中使用xml2js时遇到问题。在angular4应用程序中导入xml2js
我通过NPM安装了它,并将其导入这样的:
import {parseString} from "xml2js";
但是,当我开始我的申请,我得到这个错误:
Failed to load resource: the server responded with a status of 404 (Not Found)
Error: (SystemJS) XHR error (404 Not Found) loading http://localhost:3000/node_modules/xml2js
我也安装分型。
我新的角度(与打字稿),所以我会很高兴,如果有人可以帮我解释一下我做错了什么:)
谢谢,我会试试看 – Thessi