Grsmto / Grsmto/simplebar

Import simplebar with error undefined getOptions

Open
#730 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
6.4k
Forks
527
PR merge metrics
No merged PRs in 30d

Description

After updating the simplebar library from 6.3.0 to 6.3.3, there is an error with the simplebar import. Now `import SimpleBar from 'simplebar';` displays the error:

`Uncaught TypeError: Cannot read properties of undefined (reading 'getOptions'): index.mjs`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure from the reported `import SimpleBar from 'simplebar';` statement and inspect the generated `index.mjs` entry point named in the error. Compare the 6.3.0 and 6.3.3 import behavior; done means the import no longer throws the reported `getOptions` error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.