我在ubuntu 16上運行vagrant Homestead和gulp 3.9.1,當我嘗試運行gulp時,它向我發送了一個錯誤我正在嘗試運行gulp命令,但它說「Elixir.ready不是函數」
[email protected]:~/practice$ gulp
/home/vagrant/practice/node_modules/laravel-elixir-vue-2/index.js:3
Elixir.ready(function() {
^
TypeError: Elixir.ready is not a function
at Object.<anonymous> (/home/vagrant/practice/node_modules/laravel-elixir-vue-2/index.js:3:8)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/vagrant/practice/gulpfile.js:3:1)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
對此的任何幫助都將受到高度鼓勵。
如果有人想了解我的工作讓我知道了環境的更多信息。 –