Closed jwping closed 2 years ago
(anonymous function) src/annotation/injectable.ts:8 5 | var METADATA_KEY = require("../constants/metadata_keys"); 6 | function injectable() { 7 | return function (target) {
8 | if (Reflect.hasOwnMetadata(METADATA_KEY.PARAM_TYPES, target)) { 9 | throw new Error(ERRORS_MSGS.DUPLICATED_INJECTABLE_DECORATOR); 10 | } 11 | var types = Reflect.getMetadata(METADATA_KEY.DESIGN_PARAM_TYPES, target) || []; View compiled ▼ 2 stack frames were expanded. DecorateConstructor node_modules/reflect-metadata/Reflect.js:541 Reflect.decorate node_modules/reflect-metadata/Reflect.js:130 ▲ 2 stack frames were expanded. _decorate src/annotation/decorator_utils.ts:67 decorate src/annotation/decorator_utils.ts:89 Module../node_modules/@antv/l7-renderer/node_modules/@antv/l7-core/es/inversify.config.js src/inversify.config.ts:90 87 | // .inSingletonScope(); 88 | 89 | // @see https://github.com/inversify/InversifyJS/blob/master/wiki/inheritance.md#what-can-i-do-when-my-base-class-is-provided-by-a-third-party-module 90 | decorate(injectable(), EventEmitter); 91 | container.bind(TYPES.IEventEmitter).to(EventEmitter); 92 | // 支持 L7 使用 new 而非容器实例化的场景,同时禁止 lazyInject cache 93 | // @see https://github.com/inversify/inversify-inject-decorators#caching-vs-non-caching-behaviour View compiled webpack_require /home/jwping/react/ops-envoy/webpack/bootstrap:856 853 | 854 | webpack_require.$Refresh$.init(); 855 | try { 856 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId)); | ^ 857 | } finally { 858 | webpack_require.$Refresh$.cleanup(moduleId); 859 | } View compiled fn /home/jwping/react/ops-envoy/webpack/bootstrap:150 147 | ); 148 | hotCurrentParents = []; 149 | } 150 | return webpack_require(request); | ^ 151 | }; 152 | var ObjectFactory = function ObjectFactory(name) { 153 | return { View compiled Module../node_modules/@antv/l7-renderer/node_modules/@antv/l7-core/es/index.js src/index.ts:1 1 | "use strict"; 2 | exports.esModule = true; 3 | var GeoCoordinates = require("./geo"); 4 | exports.GeoCoordinates = GeoCoordinates; View compiled webpack_require /home/jwping/react/ops-envoy/webpack/bootstrap:856 853 | 854 | webpack_require.$Refresh$.init(); 855 | try { 856 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId)); | ^ 857 | } finally { 858 | webpack_require.$Refresh$.cleanup(moduleId); 859 | } View compiled fn /home/jwping/react/ops-envoy/webpack/bootstrap:150 147 | ); 148 | hotCurrentParents = []; 149 | } 150 | return webpack_require(request); | ^ 151 | }; 152 | var ObjectFactory = function ObjectFactory(name) { 153 | return { View compiled Module../node_modules/@antv/l7-renderer/es/regl/ReglBuffer.js http://localhost:3000/static/js/vendors~main.chunk.js:48176:71 __webpack_require /home/jwping/react/ops-envoy/webpack/bootstrap:856 853 | 854 | webpack_require.$Refresh$.init(); 855 | try { 856 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId)); | ^ 857 | } finally { 858 | webpack_require.$Refresh$.cleanup(moduleId); 859 | } View compiled fn /home/jwping/react/ops-envoy/webpack/bootstrap:150 147 | ); 148 | hotCurrentParents = []; 149 | } 150 | return webpack_require__(request); | ^ 151 | }; 152 | var ObjectFactory = function ObjectFactory(name) { 153 | return { View compiled Module../node_modules/@antv/l7-renderer/es/regl/index.js http://localhost:3000/static/js/vendors~main.chunk.js:48905:69 webpack_require /home/jwping/react/ops-envoy/webpack/bootstrap:856 853 | 854 | webpack_require.$Refresh$.init(); 855 | try { 856 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId)); | ^ 857 | } finally { 858 | webpack_require.$Refresh$.cleanup(moduleId); 859 | } View compiled fn /home/jwping/react/ops-envoy/webpack/bootstrap:150 147 | ); 148 | hotCurrentParents = []; 149 | } 150 | return webpack_require(request); | ^ 151 | }; 152 | var ObjectFactory = function ObjectFactory(name) { 153 | return { View compiled Module../node_modules/@antv/l7-renderer/es/index.js src/index.ts:4 1 | "use strict"; 2 | exports.__esModule = true; 3 | var GeoCoordinates = require("./geo"); 4 | exports.GeoCoordinates = GeoCoordinates; 5 | var bounds_1 = require("./geo/geometry/bounds"); 6 | exports.Bounds = bounds_1.Bounds; 7 | exports.toBounds = bounds_1.toBounds; View compiled webpack_require /home/jwping/react/ops-envoy/webpack/bootstrap:856 853 | 854 | webpack_require.$Refresh$.init(); 855 | try { 856 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId)); | ^ 857 | } finally { 858 | webpack_require.$Refresh$.cleanup(moduleId); 859 | } View compiled fn /home/jwping/react/ops-envoy/webpack/bootstrap:150 147 | ); 148 | hotCurrentParents = []; 149 | } 150 | return webpack_require(request); | ^ 151 | }; 152 | var ObjectFactory = function ObjectFactory(name) { 153 | return { View compiled Module../node_modules/@antv/l7-scene/es/index.js http://localhost:3000/static/js/vendors~main.chunk.js:59155:75 __webpack_require /home/jwping/react/ops-envoy/webpack/bootstrap:856 853 | 854 | webpack_require.$Refresh$.init(); 855 | try { 856 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId)); | ^ 857 | } finally { 858 | webpack_require.$Refresh$.cleanup(moduleId); 859 | } View compiled fn /home/jwping/react/ops-envoy/webpack/bootstrap:150 147 | ); 148 | hotCurrentParents = []; 149 | } 150 | return webpack_require__(request); | ^ 151 | }; 152 | var ObjectFactory = function ObjectFactory(name) { 153 | return { View compiled Module../node_modules/@antv/l7/es/index.js src/index.ts:1 1 | "use strict"; 2 | exports.esModule = true; 3 | var GeoCoordinates = require("./geo"); 4 | exports.GeoCoordinates = GeoCoordinates; View compiled webpack_require /home/jwping/react/ops-envoy/webpack/bootstrap:856 853 | 854 | webpack_require.$Refresh$.init(); 855 | try { 856 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId)); | ^ 857 | } finally { 858 | webpack_require.$Refresh$.cleanup(moduleId); 859 | } View compiled fn /home/jwping/react/ops-envoy/webpack/bootstrap:150 147 | ); 148 | hotCurrentParents = []; 149 | } 150 | return webpack_require(request); | ^ 151 | }; 152 | var ObjectFactory = function ObjectFactory(name) { 153 | return { View compiled Module../node_modules/@antv/l7-react/es/component/MapScene/AMapScene.js node_modules/@antv/l7-react/es/component/MapScene/AMapScene.js:1 webpack_require /home/jwping/react/ops-envoy/webpack/bootstrap:856 853 | 854 | webpack_require.$Refresh$.init(); 855 | try { 856 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId)); | ^ 857 | } finally { 858 | webpack_require.$Refresh$.cleanup(moduleId); 859 | } View compiled fn /home/jwping/react/ops-envoy/webpack/bootstrap:150 147 | ); 148 | hotCurrentParents = []; 149 | } 150 | return webpack_require(request); | ^ 151 | }; 152 | var ObjectFactory = function ObjectFactory(name) { 153 | return { View compiled Module../node_modules/@antv/l7-react/es/index.js node_modules/@antv/l7-react/es/index.js:1 webpack_require /home/jwping/react/ops-envoy/webpack/bootstrap:856 853 | 854 | webpack_require.$Refresh$.init(); 855 | try { 856 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId)); | ^ 857 | } finally { 858 | webpack_require.$Refresh$.cleanup(moduleId); 859 | } View compiled fn /home/jwping/react/ops-envoy/webpack/bootstrap:150 147 | ); 148 | hotCurrentParents = []; 149 | } 150 | return webpack_require(request); | ^ 151 | }; 152 | var ObjectFactory = function ObjectFactory(name) { 153 | return { View compiled ▶ 2 stack frames were collapsed. webpack_require /home/jwping/react/ops-envoy/webpack/bootstrap:856 853 | 854 | webpack_require.$Refresh$.init(); 855 | try { 856 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId)); | ^ 857 | } finally { 858 | webpack_require.$Refresh$.cleanup(moduleId); 859 | } View compiled fn /home/jwping/react/ops-envoy/webpack/bootstrap:150 147 | ); 148 | hotCurrentParents = []; 149 | } 150 | return webpack_require(request); | ^ 151 | }; 152 | var ObjectFactory = function ObjectFactory(name) { 153 | return { View compiled ▶ 2 stack frames were collapsed. webpack_require /home/jwping/react/ops-envoy/webpack/bootstrap:856 853 | 854 | webpack_require.$Refresh$.init(); 855 | try { 856 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId)); | ^ 857 | } finally { 858 | webpack_require.$Refresh$.cleanup(moduleId); 859 | } View compiled fn /home/jwping/react/ops-envoy/webpack/bootstrap:150 147 | ); 148 | hotCurrentParents = []; 149 | } 150 | return webpack_require(request); | ^ 151 | }; 152 | var ObjectFactory = function ObjectFactory(name) { 153 | return { View compiled ▶ 2 stack frames were collapsed. webpack_require /home/jwping/react/ops-envoy/webpack/bootstrap:856 853 | 854 | webpack_require.$Refresh$.init(); 855 | try { 856 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId)); | ^ 857 | } finally { 858 | webpack_require.$Refresh$.cleanup(moduleId); 859 | } View compiled fn /home/jwping/react/ops-envoy/webpack/bootstrap:150 147 | ); 148 | hotCurrentParents = []; 149 | } 150 | return webpack_require(request); | ^ 151 | }; 152 | var ObjectFactory = function ObjectFactory(name) { 153 | return { View compiled 1 http://localhost:3000/static/js/main.chunk.js:602:18 webpack_require /home/jwping/react/ops-envoy/webpack/bootstrap:856 853 | 854 | webpack_require.$Refresh$.init(); 855 | try { 856 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId)); | ^ 857 | } finally { 858 | webpack_require.$Refresh$.cleanup(moduleId); 859 | } View compiled checkDeferredModules /home/jwping/react/ops-envoy/webpack/bootstrap:45 42 | } 43 | if(fulfilled) { 44 | deferredModules.splice(i--, 1); 45 | result = webpack_require(__webpack_require__.s = deferredModule[0]); | ^ 46 | } 47 | } 48 | View compiled Array.webpackJsonpCallback [as push] /home/jwping/react/ops-envoy/webpack/bootstrap:32 29 | deferredModules.push.apply(deferredModules, executeModules || []); 30 | 31 | // run deferred modules when all chunks ready 32 | return checkDeferredModules(); | ^ 33 | }; 34 | function checkDeferredModules() { 35 | var result;
可以确认一下 node_modules 中安装的 L7 各个依赖版本是否一致,建议删除依赖后重新安装