[Pkg-javascript-devel] Bug#930591: 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 11:19:09 BST 2019


Control: tag -1 help

On Sun, 16 Jun, 2019 at 1:25 PM, Pirate Praveen 
<praveen at onenetbeyond.org> wrote:
> 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).

Some options,

1. Use https://github.com/purtuga/esm-webpack-plugin to generate esm, 
but this needs webpack 4
2. Try with a newer rollup, we will have to wait till rollup is updated
3. Try changing package.json#module to src/index.js
4. Try changing package.json#main to dist/vue-resource.js



More information about the Pkg-javascript-devel mailing list