[Pkg-javascript-devel] Bug#954993: core-js and webpack is not working well together (breaks gitlab ui)

Pirate Praveen praveen at onenetbeyond.org
Thu Mar 26 12:57:44 GMT 2020


Package: webpack,gitlab,node-core-js
severity: important

With node-core-js from system, web console while visiting the gitlab 
instance (gitlab 12.8.6 in experimental)

the following error is shown and some ui elements don't work as 
expected (text are when trying to edit a file, clone button drop down 
etc)

TypeError: isObject is not a function
main.chunk.js line 11432 > eval:7:22
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/document-create-element.js:7
    js http://gitlab.lxc/assets/webpack/main.chunk.js:11432
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/ie8-dom-define.js:5
    js http://gitlab.lxc/assets/webpack/main.chunk.js:11654
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/object-define-property.js:3
    js http://gitlab.lxc/assets/webpack/main.chunk.js:11965
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/create-non-enumerable-property.js:3
    js http://gitlab.lxc/assets/webpack/main.chunk.js:11364
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/set-global.js:3
    js http://gitlab.lxc/assets/webpack/main.chunk.js:12257
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/shared-store.js:3
    js http://gitlab.lxc/assets/webpack/main.chunk.js:12302
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/shared.js:3
    js http://gitlab.lxc/assets/webpack/main.chunk.js:12313
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/well-known-symbol.js:9
    js http://gitlab.lxc/assets/webpack/main.chunk.js:12591
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/to-string-tag-support.js:1
    js http://gitlab.lxc/assets/webpack/main.chunk.js:12502
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/modules/es.object.to-string.js:1
    js http://gitlab.lxc/assets/webpack/main.chunk.js:13012
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/modules/es.function.name.js:3
    js http://gitlab.lxc/assets/webpack/main.chunk.js:12789
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/modules/es.regexp.to-string.js:3
    js http://gitlab.lxc/assets/webpack/main.chunk.js:13092
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/modules/es.regexp.constructor.js:3
    js http://gitlab.lxc/assets/webpack/main.chunk.js:13069
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/modules/es.string.split.js:5
    js http://gitlab.lxc/assets/webpack/main.chunk.js:13223
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/indexed-object.js:1
    js http://gitlab.lxc/assets/webpack/main.chunk.js:11676
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/to-indexed-object.js:2
    js http://gitlab.lxc/assets/webpack/main.chunk.js:12425
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/modules/es.array.iterator.js:3
    js http://gitlab.lxc/assets/webpack/main.chunk.js:12730
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/webpack/buildin/global.js:7
    js http://gitlab.lxc/assets/webpack/main.chunk.js:14273
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/global.js:27
    js http://gitlab.lxc/assets/webpack/main.chunk.js:11599
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/path.js:1
    js http://gitlab.lxc/assets/webpack/main.chunk.js:12110
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/define-well-known-symbol.js:1
    js http://gitlab.lxc/assets/webpack/main.chunk.js:11410
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/modules/es.symbol.iterator.js:1
    js http://gitlab.lxc/assets/webpack/main.chunk.js:13270
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/is-object.js:5
    js http://gitlab.lxc/assets/webpack/main.chunk.js:11775
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/modules/es.array.slice.js:7
    js http://gitlab.lxc/assets/webpack/main.chunk.js:12766
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/modules/es.symbol.description.js:9
    js http://gitlab.lxc/assets/webpack/main.chunk.js:13259
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/modules/es.symbol.js:5
    js http://gitlab.lxc/assets/webpack/main.chunk.js:13282
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/export.js:1
    js http://gitlab.lxc/assets/webpack/main.chunk.js:11465
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> 
webpack-internal:///../../../../nodejs/core-js/modules/es.array.concat.js:5
    js http://gitlab.lxc/assets/webpack/main.chunk.js:12637
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> webpack-internal:///./main.js:2
    <anonymous> webpack-internal:///./main.js:342
    js http://gitlab.lxc/assets/webpack/main.chunk.js:15689
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    166 
http://gitlab.lxc/assets/webpack/pages.projects.show.chunk.js:369
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    checkDeferredModules 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:46
    webpackJsonpCallback 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:33
    <anonymous> 
http://gitlab.lxc/assets/webpack/pages.projects.show.chunk.js:1

​When using core-js from npmjs.com, the following error is shown

TypeError: Symbol is undefined
main.chunk.js line 2336 > eval:10:3
    exports well-known-symbol.js:10
    <anonymous> set-to-string-tag.js:5
    js main.chunk.js:2080
    __webpack_require__ runtime.bundle.js:84
    <anonymous> es.symbol.js:33
    js main.chunk.js:2938
    __webpack_require__ runtime.bundle.js:84
    <anonymous> global.js:1
    js main.chunk.js:14026
    __webpack_require__ runtime.bundle.js:84
    <anonymous> global.js:16
    js main.chunk.js:1433
    __webpack_require__ runtime.bundle.js:84
    <anonymous> export.js:1
    js main.chunk.js:1288
    __webpack_require__ runtime.bundle.js:84
    <anonymous> es.array.concat.js:2
    js main.chunk.js:2382
    __webpack_require__ runtime.bundle.js:84
    <anonymous> main.js:2
    <anonymous> main.js:342
    js main.chunk.js:15442
    __webpack_require__ runtime.bundle.js:84
    166 pages.projects.show.chunk.js:369
    __webpack_require__ runtime.bundle.js:84
    checkDeferredModules runtime.bundle.js:46
    webpackJsonpCallback runtime.bundle.js:33
    <anonymous> pages.projects.show.chunk.js:1

​



More information about the Pkg-javascript-devel mailing list