Can't use core/jquery
Drupal doesn't provide you with an alias for jQuery, because these days it'll inevitably interfere with another library sometime later.

If you want $ as an alias, you'll need to create it yourself:

(function($) {
  // your code...
})(jQuery);