Open jpa44 opened 4 years ago
What is your OS and Node version? I've tested it only on Windows with Node,js 12.
Does it work without that vue-cli-service
(sorry, I don't know what is it), if you just do yarn install
and yarn start
(as stated in README)?
hey i'm on windows 10 with : node : 12.4.0 and electron 6.1.9
i use vue-cli-plugin-electron-builder to works with vuejs on electron. Without this package the example works fine.
i use npm i will try with yarn to see Thanks ;)
@jpa44 I have an Angular project and it internally uses Webpack (which I belive your vue-cli-plugin-electron-builder
does, too). I had to add a loader
for .node
files. See those lines.
@hrueger yes i did this in my vue.config.js because i struggled with NODE_MODULE_VERSION error i will take a look to your main.js btw Thanks !
chainWebpack: config => {
config.module
.rule('node')
.test(/\.node?$/)
.use('node-loader')
.loader('node-loader')
.end()
},
@hrueger yes i did this in my vue.config.js because i struggled with NODE_MODULE_VERSION error i will take a look to your main.js btw Thanks !
chainWebpack: config => { config.module .rule('node') .test(/\.node?$/) .use('node-loader') .loader('node-loader') .end() },
@hrueger yes i did this in my vue.config.js because i struggled with NODE_MODULE_VERSION error i will take a look to your main.js btw Thanks !
chainWebpack: config => { config.module .rule('node') .test(/\.node?$/) .use('node-loader') .loader('node-loader') .end() },
Have you solved the problem?
Me or @jpa44 ?
Me or @jpa44 ?
@jpa44
Hi i'm using vue-cli-service with your exemple and i have this error : Failed to host and connect. I'm blocked and i don't kno how to solve this thanks !