I want to use wait-on in a Electron with Vue application.
Do I use wait-on on the right track?
If I run the app, I get an error on the Electron browser console.
If I don't use wait-on in the code, the app starts normally without errors.
I googled a while, but I found no solution.
Error message:
[HMR] Waiting for update signal from WDS...
webpack-internal:///./node_modules/util/util.js:602 Uncaught TypeError: The "original" argument must be of type Function
at promisify (webpack-internal:///./node_modules/util/util.js:602)
at Object.eval (webpack-internal:///./node_modules/wait-on/lib/wait-on.js:20)
at eval (webpack-internal:///./node_modules/wait-on/lib/wait-on.js:399)
at Object../node_modules/wait-on/lib/wait-on.js (chunk-vendors.js:12379)
at __webpack_require__ (app.js:849)
at fn (app.js:151)
at eval (webpack-internal:///./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/App.vue?vue&type=script&lang=js&:2)
at Module../node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/App.vue?vue&type=script&lang=js& (app.js:938)
at __webpack_require__ (app.js:849)
at fn (app.js:151)
Hi there,
I want to use wait-on in a Electron with Vue application.
Do I use wait-on on the right track?
If I run the app, I get an error on the Electron browser console.
If I don't use wait-on in the code, the app starts normally without errors.
I googled a while, but I found no solution.
Error message:
Node, NPM, Yarn:
package.json
App.vue
Steps to reproduce:
Same error on Windows and MacOS