Uncaught Error: Cannot find module 'autonumeric' on v4.4.1
See original GitHub issueCurrent behavior
Uncaught Error: Cannot find module ‘autonumeric’ on v4.4.1 It doesn’t break on v4.4.0
Steps to reproduce the problem
- Use autoNumeric version
<v4.4.1>
- In the electron version
<2.0.9>
- On the
<Windows>
operating system - 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:
- Created 5 years ago
- Comments:13 (10 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for reporting this @g3rrydanc3.
I was a bit worried changing the
main
tobrowser
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)
This is pushed in
v4.5.0