Laravel-elixir-error
error saat running gulp
TypeError: Elixir.ready is not a function
at Object.<anonymous> (/var/www/html/demand/node_modules/laravel-elixir-vue/main.js:3:8)
TypeError: Elixir.ready is not a function
at Object.<anonymous> (/var/www/html/demand/node_modules/laravel-elixir-vue/main.js:3:8)
masuk ke direktori project
npm install laravel-elixir-vueify
dan jika masih ada error atau ada error seperti ini
TypeError: Cannot read property 'transformers' of undefined
jalankan perintah
npm install laravel-elixir-browserify-official --save-dev
rubah file gulpfile.js
awal
require('laravel-elixir-vue');
menjadi
require('laravel-elixir-vueify');
reference:
https://github.com/JeffreyWay/laravel-elixir-browserify
https://github.com/JeffreyWay/laravel-elixir-vueify
https://github.com/JeffreyWay/laravel-elixir-vueify/issues/26
https://github.com/JeffreyWay/Laravel-Elixir-v6-Vue-example/issues/1
https://laracasts.com/discuss/channels/elixir/cannot-find-module-vendorlaravelelixirelixir
0 comments: