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.

Uncaught Error: Cannot find module 'autonumeric' on v4.4.1

See original GitHub issue

Current behavior

Uncaught Error: Cannot find module ‘autonumeric’ on v4.4.1 It doesn’t break on v4.4.0

Steps to reproduce the problem

  1. Use autoNumeric version <v4.4.1>
  2. In the electron version <2.0.9>
  3. On the <Windows> operating system
  4. Then instantiate the autoNumeric object with the following options:
const AutoNumeric = require( 'autonumeric' );
<Uncaught Error: Cannot find module 'autonumeric'
    at Module._resolveFilename (module.js:543)
    at Function.Module._resolveFilename (D:\Github\tirta-jaya\pembukuan\node_modules\electron\dist\resources\electron.asar\common\reset-search-paths.js:35)
    at Function.Module._load (module.js:473)
    at Module.require (module.js:586)
    at require (internal/module.js:11)
    at render.js:16

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
AlexandreBonneaucommented, Sep 14, 2018

Thanks for reporting this @g3rrydanc3.

I was a bit worried changing the main to browser info in the package.json could not be correctly supported by third party tools, I unfortunately I was right.

Oh well, I’ll revert https://github.com/autoNumeric/autoNumeric/commit/59f4057dc0a858c51af7c266fdac39e1fc5d4f12 (sorry @alexturpin ;P)

0reactions
AlexandreBonneaucommented, Oct 13, 2018

This is pushed in v4.5.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

autonumeric - npm
autoNumeric is a standalone Javascript library that provides live *as-you-type* formatting for international numbers and currencies.
Read more >
autonumeric - UNPKG
throwError(`The selector '${arg1}' did not select any valid DOM element. Please check on which element you called AutoNumeric.
Read more >
Easy Number and Currency Formatting Library - autoNumeric
autoNumeric is a useful JavaScript library for international currency ... Fixes Uncaught Error: Cannot find module 'autonumeric' on v4.4.1.
Read more >
Source - GitHub
... #598 The `unformatOnHover` config value isn't used when set to `false` ### 4.4.2 + Fixes #609 Uncaught Error: Cannot find module 'autonumeric'...
Read more >
Implementing autoNumeric v4 in MVC Project - Stack Overflow
<script src="https://cdnjs.cloudflare.com/ajax/libs/autonumeric/4.1.0/autoNumeric.min.js"></script>. And you should be good using it (don't ...
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