谁知道为什么我在尝试执行时会得到一个404 : import 'expose?AuthenticationContext!../../../node_modules/adal-angular/lib/adal.js';
路径是正确的,并且adal.js文件肯定在那里(如果我将其粘贴到浏览器中的另一个选项卡中,它就会打开)。我加载了"expose“(带有很多警告消息)。下面是完整的错误
将http://localhost:56580/expose?AuthenticationContext!http://localhost:56580/node_modules/adal-angular/lib/adal.js作为"expose?AuthenticationContext!../../../node_modules/adal-angular/lib/adal.js“从http://localhost:56580/app/components/domain/auth.provider.js加载时出错
发布于 2016-12-07 01:48:07
你能试一下吗?
const AuthenticationContext = require('../../../node_modules/adal-angular/lib/adal.js');
https://stackoverflow.com/questions/40997077
复制相似问题