我正在实现 angular-ui 轮播。将 jspm 包添加到现有项目后,我在控制台中看到以下错误。
:3000/jspm_packages/bower/angular-ui/bootstrap@1.2.2/index.js:3 Uncaught ReferenceError: require is not defined$@system.js:4 system.js:4 Uncaught Uncaught ReferenceError: require is not defined 评估localhost:3000/jspm_packages/bower/angular-ui/bootstrap@1.2.2/index.js$ @ system.js:4 localhost/:1 Uncaught (in promise) Uncaught Uncaught ReferenceError: require is not defined Evaluating localhost:3000/ jspm_packages/bower/angular-ui/bootstrap@1.2.2/index.js 评估 localhost:3000/jspm_packages/bower/angular-ui/bootstrap@1.2.2.js 加载 localhost:3000/js/bootstrap.js 时出错