[Pkg-javascript-devel] Bug#930591: node-vue-resource is broken - TypeError: vue__WEBPACK_IMPORTED_MODULE_0__.default.http is undefined

Pirate Praveen praveen at onenetbeyond.org
Sun Jun 16 08:55:29 BST 2019


Package: node-vue-resource
Version: 1.5.1-1
severity: grave
Control: block 930404 by -1

When trying to use packaged version of node-vue-resource, Web Console 
shows this error. UI elements just show the spinning circle forever.

Upstream is using rollup based build system and we converted it to 
webpack when rollup was in contrib. When I tried to switch back to 
rollup when updating to 1.5.1, the build failed (we have an older 
version of rollup than what upstream wants).

TypeError: vue__WEBPACK_IMPORTED_MODULE_0__.default.http is undefined
main.chunk.js line 5843 > eval:12:1
    <anonymous> 
webpack-internal:///./vue_shared/vue_resource_interceptor.js:12
    js http://gitlab.lxc/assets/webpack/main.chunk.js:5843
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> VueJS
    js http://gitlab.lxc/assets/webpack/main.chunk.js:4261
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> webpack-internal:///./commons/index.js:7
    js http://gitlab.lxc/assets/webpack/main.chunk.js:4157
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    <anonymous> webpack-internal:///./main.js:8
    <anonymous> webpack-internal:///./main.js:267
    js http://gitlab.lxc/assets/webpack/main.chunk.js:5328
    __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
    153 
http://gitlab.lxc/assets/webpack/pages.projects.show.chunk.js:321
    __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
Download the Vue Devtools extension for a better development experience:
https://github.com/vuejs/vue-devtoolsvue.esm.js:9071
You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html



More information about the Pkg-javascript-devel mailing list