laravel - i'm trying to run gulp command but its saying "Elixir.ready is not a function" -


i'm running vagrant homestead on ubuntu 16 , gulp 3.9.1, when try run gulp sends me error below

vagrant@homestead:~/practice$ gulp /home/vagrant/practice/node_modules/laravel-elixir-vue-2/index.js:3 elixir.ready(function () {        ^  typeerror: elixir.ready not function     @ object.<anonymous> (/home/vagrant/practice/node_modules/laravel-elixir-vue-2/index.js:3:8)     @ module._compile (module.js:413:34)     @ object.module._extensions..js (module.js:422:10)     @ module.load (module.js:357:32)     @ function.module._load (module.js:314:12)     @ module.require (module.js:367:17)     @ require (internal/module.js:20:19)     @ object.<anonymous> (/home/vagrant/practice/gulpfile.js:3:1)     @ module._compile (module.js:413:34)     @ object.module._extensions..js (module.js:422:10) 

any highly encouraged.

try updating elixir latest version in package.json file, , if you're using webpack install webpack package in package.json file or running below command in terminal.

npm install laravel-elixir-webpack-official --save-dev 

for more see - this issue


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - IE9 error '$'is not defined -