electron-boilerplate-vue
electron-boilerplate-vue copied to clipboard
this._init is not a function
Hi, I keep getting this error . Can you please help me out with this?
ERROR in ./app/App.vue
Module build failed: TypeError: this._init is not a function
at Object.Vue (D:\sandbox\AlertManager\vuejs-boilerplate\electron-boilerplate-vue\app\node_modules\vue\dist\vue.common.js:9510:8)
@ ./app/main.js 7:11-27
Node Version : 4.4.5 NPM Version : 3.9.3
Thanks
After run 'npm update' I started to get this problem too. Do you managed to fix it?
@thalesrodolfo i did remove the node modules directory and then installed the packages again. I keep getting this error randomly.
For anybody coming by with this issue.
You need to change the webpack loader from:
loaders: [
{
test: /\.vue$/,
loader: 'vue'
},
...
to
loaders: [
{
test: /\.vue$/,
loader: 'vue-loader'
},
...
in /build/webpack.base.conf.js
From here