Simple javascript library import not working

this is dead simple html code

<!DOCTYPE html>
<html lang="en">
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <script src=""></script>
  <script src=""></script>
  <link rel="stylesheet" href="">
    $(document).ready(function() {
      new SimpleBar();

and I wonder why I get this error message. thx

Please follow the advice at Requesting Help. Without seeing the code, it doesn’t appear to be a Hugo issue.

I think I’m following the rules and somebody in the future who may struggle with the same issue can get help so I posted this. And I spend more than 5 hours and can’t find the solution so where can I ask for it

I found out that this error message is totally not related to Hugo. maybe SimpleBar object really doen’t exist in the library;

1 Like