-2

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

1
  • 1
    If you scroll down on their page (underscorejs.org) to the section about "Monolithic import", you'll find the solution. Commented Sep 29, 2022 at 22:42

1 Answer 1

1

Instead of

import * as _ from 'underscore';

you need to

import _ from 'underscore';
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.