Uncaught TypeError: $(...).modal is not a function

Uncaught TypeError: $(...).modal is not a function

Hello Everyone, 
I am using jquery in react and i am facing this issue.
My code is

showFileUploadModal(roleType){
    console.log(roleType);
    $('#fileUploadModal').modal('show');
  }

showFileUploadModal get triggers by a button.

I put $ in watcher and i did not find any modal function there, what should i do?

I am using jquery v3.2.1

how can i overcome this error?