question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I create codesandbox with million and it fires with errors million.m is not a function, looks like problem in browser bundle

link: https://codesandbox.io/s/nervous-wright-k98xz?file=/src/index.js

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jeetisscommented, Jun 7, 2021

@aidenybai export is still empty

1reaction
tejasagcommented, Jun 7, 2021

Looks like some functions are not exported properly. We’ll look into it. Meanwhile, you can use million with the unpkg source.

<script src="https://unpkg.com/million"></script>

Then you can use the Million (mind the capital M) variable in your javascript

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the meaning of empty export {} in vanilla javascript ...
The empty export is likely due to the usage of typescript, requiring all modules to have an import or export statement if --isolatedModules...
Read more >
no-useless-empty-export - TypeScript ESLint
An empty export {} statement is sometimes useful in TypeScript code to turn a file that would otherwise be a script file into...
Read more >
New rule: no-useless-empty-export · Issue #2757 - GitHub
Sometimes a file doesn't contain imports or exports for legitimate reasons. In this case, an empty export must be added.
Read more >
Empty export file - Dealroom
Learn what to do if you have problems with an exported file.
Read more >
Export file is empty or not complete - Kraken Support
If the export CSV file has no entries in it, it's likely that dates with no activity were selected for the export ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found