Uncaught ReferenceError: XHLHttpRequest is not defined
作者:互联网
在js脚本中运行var xhr = new XHMLHttpRequest();
出现报错: Uncaught ReferenceError: XHLHttpRequest is not defined
报错原因:xhlhttprequest不是node 的内置对象。需要单独安装
解决办法:安装xhlhttprequest,安装命令:npm install xmlhttprequest
标签:XHLHttpRequest,xhlhttprequest,defined,报错,Uncaught,ReferenceError 来源: https://www.cnblogs.com/00544--/p/15089553.html