issue with imports
See original GitHub issueI keep getting this error on a fresh install.
loading the modules as import { SHA256, EncBase64, EncUtf8 } from 'crypto-js';
seems to fix the issue.
is this a bug? or is my setup broken?
to clarify; I use es modules to load code
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Common Pitfalls With Importing and Exporting - LiveAbout
1. Lack of Knowledge on Exchange Rates · 2. Lousy Relationship With Customs Officials · 3. Making a Bribe · 4. Being Clueless...
Read more >Imports and Exports: A Short List of Common Problems and ...
Imports and Exports: A Short List of Common Problems and Opportunities · Automobile manufacturing and assembly · Petroleum storage, refining, and ...
Read more >Priority Trade Issue: Import Safety
The Import Safety Priority Trade Issue is designed to ensure that unsafe products do not enter the commerce of the U.S. by working ......
Read more >U.S. Imports: Top Categories, Challenges, Opportunities
The United States imports more than it exports. According to the U.S. Census, that creates a trade deficit of $485 billion.2 Even though...
Read more >Handle import errors - Analytics Help - Google Support
Troubleshoot Data Import problems. Not seeing the imported data appearing in your reports, as expected? This article can help you troubleshoot the problem....
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
@pamapa I already had that installed based on what suggestions for similar issues, it doesn’t fix the issue but is helpful non the less. Thanks!
@kherock I could kiss you right now, that fixes it!
@chris-kruining you’re right in noticing that
crypto-js
doesn’t provide es-modules, it only exports UMD/CJS. You’ll need to include@rollup/plugin-commonjs
in your rollup config in order to resolve those imports.