-1

I am stuck with issue. Has anyone encountered this. As I am unable to get it what it is asking for.

This is how I imported this library highlighted in yellow.

enter image description here

enter image description here

This how it is showing in browser error.

enter image description here

ammad khan
  • 1,022
  • 1
  • 10
  • 14
  • 1
    If you scroll down on their page (https://underscorejs.org) to the section about "Monolithic import", you'll find the solution. – Terry Sep 29 '22 at 22:42

1 Answers1

1

Instead of

import * as _ from 'underscore';

you need to

import _ from 'underscore';
Julian
  • 4,176
  • 19
  • 40