Using Laravel 5.3 with Gulp and Elixir. Materialize installed via npm.
Error:
When mobile slidenav collapsed button is clicked:

When dragging from side with mobile gesture to show the sidebar:

Code:
window.$ = window.jQuery = require('jquery');
global.Tether = require('tether');
require('materialize-css');
$(".button-collapse").sideNav();
Yea, I fixed the issue by renaming the node_modules folder that was included in the package so that jquery wasn't included twice. You should really remove the jquery from the package.
I used @patombugua solution from https://github.com/InfomediaLtd/angular2-materialize/issues/20 to include materialize jquery instead of standard one, and it worked well.
window.$ = window.jQuery = require('materialize-css/node_modules/jquery/dist/jquery.js'); require('materialize-css');
Can someone check if this also fixes the webpack problem? Just to be sure?
https://github.com/Dogfalo/materialize/pull/3782#issuecomment-300734634
I applied the patch locally and still getting the following errors:
Uncaught TypeError: $overlay.velocity is not a function
@DevChuckNorris Can you also check https://github.com/Dogfalo/materialize/pull/3552?
@kduszczy strange enough but this was the only sullotion working for me. Thx a lot friend.
ps: I hope they fix this asap. Its a grat library.
@T0miii I commented on 13 November so if its still not working the asap is not the proper term :smile:
Any alternative for use Jquery v3.2 instead? @kduszczy solution works fine, but It would be better a cleaner approach, any idea? :confused:
Edit: Aparently in v0.99 it's solved this.
Since #4774 materialize shouldn't use the it's own bundled version of jQuery anymore. Can someone check if the problem has been resolved in the latest version, so we can close this issue?

@tomscholz It works perfect.
nice 👌
Most helpful comment
I used @patombugua solution from https://github.com/InfomediaLtd/angular2-materialize/issues/20 to include materialize jquery instead of standard one, and it worked well.
window.$ = window.jQuery = require('materialize-css/node_modules/jquery/dist/jquery.js'); require('materialize-css');