Openlayers in laravel

i want to add openlayers in laravel frameworks but it always have an error like this:
openlayers:1 Uncaught TypeError: Failed to resolve module specifier “rbush”. Relative references must start with either “/”, “./”, or “../”.

and another error is like this:
Expected a JavaScript module script but the server responded with a MIME type of “text/html”. Strict MIME type
Expected a JavaScript module script but the server responded with a MIME type of “text/css”. Strict MIME type

can someone help me to fix and solve this so my openlayers and the map is shown webpage so the laravel frameworks is working after adding openlayers library?

thank you

solve this so my openlayers and the map is shown webpage so the laravel frameworks is working after adding openlayers library